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

Absolutely minimal file permissions for Subverison repository with Apache/DAV?

From: Peter Michaux <petermichaux_at_gmail.com>
Date: Fri, 8 Aug 2008 10:10:14 -0700

Hi,

I've set up a Subversion repository with svnadmin 1.4.2 on Debian
Etch. (That is the stable version of Subversion on Debian.) The
repository is /home/dev/repo and that directory and all its contained
files have owner:group www-data:www-data with rwxr-x-r-x permissions.
Does everything in the repository need to have write access for
www-data:www-data user:group that Apache runs as on Debian?

I found some slightly different repository file permission settings here

http://www.debian-administration.org/articles/374#comment_18

In the permissions above, why do the directories need to have the
leading "2" in their permissions?

The permissions suggested in the above link are uniform for all files
in the repository; however, when svnadmin creates the repository it
seems to have various permission on various files.

Does someone have a suggestion for a minimal set of file permissions
and more restrictive ownership of the files in a repository so the
www-data user can do the work it needs to do? For example to the hook
template files need to be owned by www-data:www-data, etc?

Thank you,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-08 19:10:44 CEST

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.