[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: Greg Stein <gstein_at_lyra.org>
Date: 2002-03-27 02:48:12 CET

On Tue, Mar 26, 2002 at 04:50:43PM -0600, Jay Freeman (saurik) wrote:
>...
> If you go back to the Subversion design documents:
>
> <quote src="http://www.tigris.org/files/documents/15/48/svn-design.txt">
> * Clients use properties to store file attributes, as described
> above. For example, the Unix Subversion client records the files'
> permission bits as the value of a property called
> `svn-posix-access-permission'. Operating systems which allow files
> to have more than one name, like Windows 95, can use directory
> entry property lists to record files' alternative names.
> </quote>

The simple answer is that the design document is out of date (that section
was probably written about two years ago and is woefully outdated given time
and our use of APR). We're only dealing with the executable flag, and we're
doing nothing for the alternative names.

The posix perms aren't very portable, but truth be told, neither is the
executable bit :-) When we write files, we typically turn on "all bits" and
let the umask set them properly.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 27 02:44:49 2002

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

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