[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: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-08-10 11:44:03 CEST

On Wednesday 10 August 2005 11:32, Philippe LEGAY wrote:
> Hello,
> "svn check out my project" will give me :
> -rwx------ foo.c
> -rw-rw-rw mysecretpassword
> -rw-r--r-- myscript.pl
> So we build the project for deliver, the rights of mysecretpassword and
> myscript.pl are not the one we want. Of course, the
> make file can set the right, but I think it is also possible to do that
> into the subversion repository.
> So how can I set the files right inside the repository :
> -rw-r--r-- foo.c
> -r------- mysecretpassword
> -rwxr-xr-x myscript.pl
> Is it possible the set the owner and the group of the file foo.c and
> mysecretpassword ?
> Is is possible to set right and owner accordinf the current "user".
> For instance user = Marketing , svn check out my project will give :
> -r--r--r-- root:root foo.c
> -r----- root:root mysecretpassword
> -r-xr-xr-x marketing:marketing myscript.pl
> And for a developper, svn check out my project will give :
> -rw-r--r-- devel:devel foo.c
> -r------- devel:devel mysecretpassword
> -rwxr-xr-x devel:devel myscript.pl
> Thanks,
> PHL.
You need the meta-data patches/branch for that.

See http://svn.collab.net/viewcvs/svn/branches/meta-data-versioning/ for
the branch; see
http://marc.theaimsgroup.com/?l=subversion-dev&m=111459962412224&w=2 for
patches against 1.2.0rc2 (which apply with a small fuzz also against the
released version).

The readme is a bit out-of-date; see
http://svn.haxx.se/users/archive-2005-08/0444.shtml for details, until I get
to do that (it'll be some time).


Phil :-)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 11:45:52 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.