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

fsfs and user permissions

From: Alvin Thompson <alvin-svn_at_thompsonlogic.com>
Date: 2005-04-12 20:06:55 CEST

hi,

i read the handbook, but i still have a question about user permissions
with svn. the handbook states that all users need read/write access to
the repository even for read-only access, but those sections which say
that seem to be written with berkely DB-backed repositories in mind.
here's what i did (linux):

1. svnadmin create repos --fs-type fsfs #umask is 022
2. groupadd projects
3. chgrp -R projects repos/db/
4. chmod -R g+w repos/db/

i have tested this configuration, and it seems to allow read access to
linux system users who are not in the 'projects' group and read/write to
those users who are (using svn+ssh to log in).

my question is, does this actually work, or is there a problem that i
haven't run into yet? if this does work, it seems like a great way to
allow users write access to repositories on a case-by-case basis. maybe
the book should be updated to show this approach (assuming it works)?

thanks,
alvin

p.s. - i'm sending this to 'dev' instead of 'users' because i assume the
answer requires knowlege of how the fsfs back end works. please forward
if this is not the case.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 12 21:51:51 2005

This is an archived mail posted to the Subversion Dev mailing list.