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

Re: How do I change file permissions?

From: Robert Graf-Waczenski <rgw_at_lsoft.com>
Date: 2007-10-08 16:22:35 CEST
brian@enchanter.net wrote:
On 10/8/07, brian@enchanter.net <brian@enchanter.net> wrote:
    
Subversion doesn't record or manage filesystem permissions (ACLs).
        
How come, then, when I revert four different files, they all come back
with different permissions?  Where are they getting these permissions
from, and how do I change them?
      
Most likely they're the same permissions as found on the pristine
copies found in the .svn directory.
    

Cool - thanks for the tip!  I looked in there and I'm not sure what file I
want to change permissions for, though.  What am I looking for?

Here's one of the directories in question.  I want to change the
permissions that 'security.yml' reverts to, to 660 (rw-rw----).  What file
in the .svn directory do I chmod?

drwxr-xr-x 6 kendigb devs 4096 Oct  8 09:55 .svn
-rwxr-xr-x 1 kendigb devs   84 Oct  5 11:25 security.yml

./.svn:
-r--r--r-- 1 kendigb devs  234 Oct  5 11:52 all-wcprops
-r--r--r-- 1 kendigb devs  370 Oct  8 09:55 entries
-r--r--r-- 1 kendigb devs    2 May  7 10:02 format
drwxr-xr-x 2 kendigb devs 4096 May  7 10:02 prop-base
drwxr-xr-x 2 kendigb devs 4096 Oct  5 11:33 props
drwxr-xr-x 2 kendigb devs 4096 May  7 10:02 text-base
drwxr-xr-x 5 kendigb devs 4096 Oct  8 09:55 tmp

./.svn/prop-base:
-r--r--r-- 1 kendigb devs   46 Oct  5 11:33 security.yml.svn-base

./.svn/props:

./.svn/text-base:
-r--r--r-- 1 kendigb devs   84 Oct  5 11:13 security.yml.svn-base

./.svn/tmp:
drwxr-xr-x 2 kendigb devs 4096 May  7 10:02 prop-base
drwxr-xr-x 2 kendigb devs 4096 Oct  5 11:33 props
drwxr-xr-x 2 kendigb devs 4096 Oct  5 11:14 text-base

./.svn/tmp/prop-base:

./.svn/tmp/props:

./.svn/tmp/text-base:



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


  
The data in the .svn folders is off limits to the end user, messing with it will seriously affect the state of your WC in an unpredictable way! (Sorry, i can't assist you in your original problem though)

Robert
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Mon Oct 8 16:26:25 2007

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.