Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

Subversion and file permissions

Posted in All on April 27th, 2005 · 2 Comments

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.

Tags: , ,

2 responses so far ↓

  • 1 Nancy // May 4, 2005 at 8:21 pm

    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 Leonid Mamchenkov // May 5, 2005 at 3:52 am

    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.

Leave a Comment

Note: This post is over 3 years old. You may want to check later in this blog to see if there is new information relevant to your comment.

Advertisement

  • WordPress publishing platform
  • Linux Weekly News
  • Advertise at mamchenkov.net