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

Re: File owner/group

From: John Rouillard <rouilj_at_renesys.com>
Date: 2006-06-27 20:01:23 CEST

On Tue, Jun 27, 2006 at 12:54:46PM -0400, Troy Cregger wrote:
> Hi,
> I was trying to find the answer to this in the book but didn't see
> anything about it, is there a way I can preserve the owner/group values
> of the files that I check into subversion?
>
> Some of my files need to be owned by apache for instance. When I check
> them out, the owner becomes me.

You can't change ownership on many systems without being root. The
owner/groups comes from the uid/gid under which you create (check out)
the file.

That being said I record user/group/mode info in the svn properties
for the file and then use a script (run as root) to extract that info
and apply it to the files. Alterntively, you could do your checkouts
as apache when you are in the apache tree.

-- 
				-- rouilj
John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 27 20:11:12 2006

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.