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

umask problem with apache2 and mod_dav_svn

From: kulve <kulve_at_pingu.fi>
Date: 2006-04-26 15:03:09 CEST

Hi

I have set up a development environment based on trac and svn. svn is
used using http protocol with svn command line tool and optionally
browsed through trac.

My apache2 uses suexec to exec cgi with my own account that should have
read/write group access to svn files. Using svn from command line the
dav module is used and afaik it is run as www-data user by default
(suexec has no effect there). www-data should be the owner of the files
in my setup.

The problem is that group loses sometimes the write access (because of
bad umask?). I have added "chmod g+w" hack to post-commit.sh which might
fix some issues. But it seems that always when a new logfile (e.g.
db/log.0000000004) is created it's missing the group write access and I
need to recover the database and set owner and access modes.

So, is there a way to
a) choose what user is used when accessing svn files through dav svn?

b) use some post hook to give that new logfile group write access?

c) set umask so, that new files in my svn will have group write access?

-- 
Thanks,
kulve
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 26 15:06:13 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.