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

'svn chmod' or alike ?

From: Sebastien Cevey <seb_at_cine7.net>
Date: 2003-12-12 00:25:29 CET

Hello

I have a question about permissions in the working copy, but I don't
think it is related to the "WC permissions" thread.

My question is, is there a way to save (probably in the repository)
the permission bits of a file ?

eg :

wc $ ls -l
total 0
-rw-r--r-- 1 seb users 0 2003-12-12 00:08 empty.txt
-rw------- 1 seb users 0 2003-12-12 00:08 too.txt
wc $ rm -f *
wc $ svn up
Restored too.txt
Restored empty.txt
At revision 1.
wc $ ls -l
total 0
-rw-r--r-- 1 seb users 0 2003-12-12 00:08 empty.txt
-rw-r--r-- 1 seb users 0 2003-12-12 00:08 too.txt
wc $

Is there a way to ensure that the too.txt file keeps the 0600
permission ?

The question is especially related to cases where RCS is used to
maintain configuration files which are expected to have a given
permission (eg. no read permission for 'other').

Thank you !

-- 
Sebastien Cevey <seb@cine7.net>
Cine7.Net  -  Milcis.Net  -  ProgramPlay.Org
Jabber: theefer@albus.homelinux.net - ICQ: 48895760
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 12 00:26:16 2003

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.