Super User is a question and answer site for computer enthusiasts and power users. 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

I have a folder in SVN that i am connecting to via Mac's Terminal. What is the commands to set a folder's perms to 777?

share|improve this question

migrated from Jan 13 '10 at 7:21

This question came from our site for professional and enthusiast programmers.

MacOSX has a fully certified POSIX compliant OS. This also means that the standard Unix command line tools are available, so to change the permissions on a file or folder you can use:

chmod 777 folder

Looking at your comment on another answer, it seems that you want the default checkout permissions to be 777. This is not possible with pure svn. One possible workaround might be to do:

umask 0
svn co folder

Another possibility for you is to use asvn, as this is a wrapper around svn that does store permissions for you.

share|improve this answer


chmod 777 folder

However, since subversion only cares about the contents of the files, you can't change those permissions in the repository. If you really need to maintain those permissions, you might want to try and make a simple checkout script that will chmod 777 them after you do a checkout.

Another option would be to svn co the folder copy it somewhere else, svn rm the original, move the copy back to the original directory, perform the chmod 777 and svn ci the folder. Although that might be more trouble than it's worth.

On another note, if you are just trying to get executable privileges on a file, you can use

svn propset svn:executable '' [filename]

but that doesn't seem to be what you are wanting.

share|improve this answer
dont i do 'svn chmod 777 folder'? – HollerTrain Jan 12 '10 at 22:44
subversion does not store the permissions in the repository, you can only set permissions on local files. – zipcodeman Jan 12 '10 at 22:46
you cant, svn command doesnt have a chmod sub command – omermuhammed Jan 12 '10 at 22:46
really? so would i have to set the chmod on FTP or something that svn is connected to? – HollerTrain Jan 12 '10 at 22:54
That may work, but then you run the risk of corrupting the whole repository. – zipcodeman Jan 12 '10 at 23:00

The MacOS X Terminal == unix commandline, so all online documentation you see relating to the unix or linux command-line and the subversion command-line client will work just fine.

share|improve this answer

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.