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

Re: set rwx rights to file that are inside a repository (for a UNIX checkout)

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-10 16:02:11 CEST

On 10.08.2005, at 14:59, Philippe LEGAY wrote:

> Ryan Schmidt wrote:
>
>> On 10.08.2005, at 11:32, Philippe LEGAY wrote:
>>
>>> "svn check out my project" will give me :
>>> -rwx------ foo.c
>>> -rw-rw-rw mysecretpassword
>>> -rw-r--r-- myscript.pl
>>>
>>> [snip]
>>>
>>> So how can I set the files right inside the repository :
>>> -rw-r--r-- foo.c
>>> -r------- mysecretpassword
>>> -rwxr-xr-x myscript.pl
>>
>> You can get the execute bit using the svn:executable property.
>> For example:
>>
>> svn propset svn:executable ON myscript.pl
>>
>> The rest that you want is not supported natively by Subversion.
>> As someone said, there's an unofficial branch to let you do this.
>
> Thanks,
>
> I try and it works. But it is possible to set any of the 777 bits
> of the unix system ? The execute property is like chmod a+w

The svn:executable property only sets the execute bit. Subversion
does not natively support any other modifications to your working
copy's privileges. If you require this and are willing to accept
running a custom Subversion, then the already-mentioned meta-data-
versioning patch is for you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 16:05:34 2005

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.