Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4623712
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:01:40+00:00 2026-05-22T03:01:40+00:00

I have a Linux test server in which sometimes the code of a system

  • 0

I have a Linux test server in which sometimes the code of a system is being updated by user1 or user2. Both are included in the “users” group.
For usual modifications there is no problem as all the files have the g+w permission.

However if user1 adds a new directory (using svn add) it has to manually set the g+w permission or the user2 will have problems with that directory (as by default subversion creates the .svn directory with a 755 permission).

Is there any subversion setting to make this process automatically? or a post-commit hook is the only way?

It is not an urgent matter, so just wondering…

Thank you in advance.

Note: One alternative of course is to each of those users to have their own copy, but for that specific system it was the easiest way to do it (as they don’t have to set the environment twice).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:01:41+00:00Added an answer on May 22, 2026 at 3:01 am

    A couple of quick ideas:

    1. Have a cron job periodically sanitize permissions on the tree. This is what I’ve done in the past with shared filesystem areas like this, especially to enforce a particular group name that’s not a default group for either user.

    2. Set each user’s umask (i.e. in .bashrc) so that newly created files are group-writable. i.e.:

      umask u=rwx,g=rwx,o=r
      

      will result in new files created as -rw-rw-r–, and new directories created as drwxrwxr–

    Sorry that neither of these is svn-specific, if I turn up a way to set an “svn umask” I’ll check back with an edit.

    SVN book suggests replacing the svn binary with a wrapper shell script that first sets the umask, then runs the actual svn command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application on a Linux server which starts with <? I
i have a problem with my server which is running ubuntu (debian) linux and
I have a Linux C++ application and I'd like to test an object pointer
I have a Linux web server farm with about 5 web servers, web traffic
We have a Linux server application that is comprised of a number of open-source
I have a Linux server with multiple ips (so, multiple eth0, eth0:0, eth0:1 etc).
I have a Linux web server and I'd like to make some database tables
I have a test server that sits in the corner of our office. I
I am running a window/linux java application which connects to a server for market
I have two machines I work on: Windows Client (Development Machine) Linux Web Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.