Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

which permission should be for client svn folder?(Ubuntu)

the case:

I should download files from svn server to my computer and able to do all svn action as programmer that doing change in the code(update etc..).

Default folder permission enforce working with sudo, Soo i think to change folder permission to 755.

Thanks, Yosef

share|improve this question
up vote 1 down vote accepted

The default folder permissions are 0755 on Linux. If you're asking whether or not you should change folder permissions to something other than that, the answer is almost certainly "no."

Update: It sounds like you have an ownership issue based on your comments. To change ownership to your user and your user's group, use the following:

chown -R youruser:youruser /path/to/svn/working/dir

So for your case, if your username is yosef and you had used svn co in /home/yosef/some_svn_repo_you_checked_out, your command would be:

chown -R yosef:yosef /home/yosef/some_svn_repo_you_checked_out
share|improve this answer
soo why when i $ mkdir newdir not working? only with sudo? – Yosef Mar 19 '11 at 20:47
Its probably not owned by the right user. Run ls -l <directory> and see what user owns it. – Andrew M. Mar 19 '11 at 21:30
root, I ask about which permission should be for svn client folder – Yosef Mar 19 '11 at 22:19
In your question, you asked about default folder permissions. What you're talking about now is ownership, and the question is--if this is indeed the client side, why did you checkout your svn repository as the root user? I've updated my original answer to get you out of the mess--but it goes without saying that you should NEVER be executing arbitrary commands as root. – Andrew M. Mar 20 '11 at 3:02
thank you very much! – Yosef Mar 20 '11 at 22:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.