[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: File Permissions

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Mon, 2 Jun 2008 18:01:12 +0200

On Monday 02 June 2008, Matthias Fechner wrote:
> Hi Ryan,
>
> Ryan Schmidt wrote:
> > No. The only permission a repository can store is a file's executable
> > bit, via the presence or absence of the svn:executable property on a
> > file.
>
> thanks a lot for your answer that was the reason why I could not find
> anything who to do it.
>
> Maybe that would be a nice feature for the future?
>
> Best regards,
> Matthias

As far as I remember that feature is not included in SubVersion because it
opens a few cans of worms. For example, not every OS supports the same
permissions (Windows file permissions vs. UNIX file permissions vs. ACLs vs.
Mainframe). How to deal with that ?

The SubVersion developers thus agreed that the most important and widely
supported file permission is whether a file is executable or not and added
support for just that permission.

There are scripts that can store the permissions in SubVersion properties and
restore them from there.

Bye,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-02 18:01:41 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.