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

Store unix permissions in repository

From: Anders Bo Rasmussen <fuzz01_at_spamfilter.dk>
Date: 2007-08-14 23:26:12 CEST

Hello.

I would like to store Unix permissions in a Subversion repository, I
don't know how that can be done. To make it completly clear what I'm
talking about I have made a small example:

Lets say I have the files with the permissions:

-rw-r--r-- a
-r--r--r-- b
-rwxrwxrwx c

If I make a 'svn import' followed by a 'svn co' in another directory I
get:

-rw-r----- a
-rw-r----- b
-rwxr-x--- c

However that depends on my umask - if I have umask 0000 I get:

-rw-rw-rw- a
-rw-rw-rw- b
-rwxrwxrwx c

But what I want is the complete same permissions as in the original
directory.

Anyone have good ideas how to achieve this?

Regards
  Anders

-- 
41 6E 64 65 72 73 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 15 10:18:18 2007

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