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

Re: Apache user/group

From: Brian Mathis <bmathis_at_directedge.com>
Date: 2004-02-26 19:27:30 CET

Simon McClenahan wrote:

>I created apache user and web, svn groups. I added apache user to the svn group, and chgrp svn all my repositories. Apache is running as apache/web . Is it possible to configure the umask of the apache user?
>
>I can see the same issue happening now that I had with svn+ssh , where the db log files are owned by other users using svn+ssh: and file: access. Isn't there some sort of sticky bits I can set on the repository dirs to force the group and rw permission for new log files in the db directory?
>
>
>
You can try editing the apachectl script and add a umask line in there.

You can force all files that get created in a directory to change group
to the owner of that dir by using chmod g+s [dir]. Then, any file
created in it will be in the group that owns the dir.

You can't force permissions though. You can set the systemwide umask,
but users are free to change them individually.

-- 
Brian Mathis
http://directedge.com/b/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 26 19:27:40 2004

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.