Subversion and file permissions

I’ve been assigned to a new project at work today. It was decided to use Subversion for version control. I haven’t used Subversion before, though I’ve read a lot about it.

Few minutes into it, I’ve got my first question: “How can I make Subversion store file permissions and ownership?”. Googling for two seconds didn’t turn out any results, so I went straight to Subversion’s IRC channel (#svn @ irc.freenode.net). Here’s the answer that I got:

Subversion does not version permissions. There exist 2 wrapper scripts which you can use instead of “svn” for commit, checkout, update, etc., and store permissions in properties. They are: asvn and svn+perms. Last but not least there is a patch which adds the functionality into the svn core.

(I edited it a bit for the better linking).

Also, I’ve also been pointed to this blog.

Read 10 comments


  1. I haven’t used VSS, CVS or Subversion. I’ve been assigned the task to determine if Subversion can restrict permissions on files without creating a Unix account. The users don’t like VSS, don’t know why at this time, bu VSS is able to do the restrictions they need through their admin for the product. Do you know if we can accomplish something like this in CVS or Subversion?

    Help or refer. Thanks!


  2. Hi Nancy,

    Unfortunately, I can’t help you myself due to my very limited knowledge of both CVS and Subversion. Try asking in the appropriate IRC channels (#cvs and #svn at irc.freenode.net). People on FreeNode network are usually fast responding and know what they are talking about.


  3. Thank you Rafael, and thank you additionally for making the source code so straightforward. It compiled without a flaw, and my server’s file properties are now tucked safely away in svn.

    I plan to add a feature or two, if you’d like to get in touch my email address is ivolucien over yonder at g mail. I’m also curious to hear if you haven’t seen spor run into any limits or unusual error conditions yet.

  4. Pingback: Storing file permissions in Subversion repository — HTMLCoderHelper.com

  5. Pingback: 在Subversion版本库存储文件的权限 | IT技术问答论坛IT技术问答论坛

  6. Pingback: Storing file permissions in Subversion repository - Programmers Goodies

  7. Pingback: Storing file permissions in Subversion repository | Ask & Answers

  8. Pingback: Storing file permissions in Subversion repository | Technology & Programming Answers

Leave a Reply