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

Perms Problem

From: Josh Narins <josh_at_narins.net>
Date: 2004-12-06 00:05:53 CET

There are four users on the system, root, svn, user1 and user2. Root
built and installed subversion 1.1.1

svn follows by creating the repository, and then executing chmod -R g+w
/path/to/repos and chmod g+s /path/to/repos/db

user1 then does an svn import

At this point, ls -l /path/to/repos/db looks like this:
drwxrwsr-x 5 svn svn 4096 Dec 5 17:48 .
drwxrwxr-x 7 svn svn 4096 Dec 5 17:47 ..
-rw-rw-r-- 1 user1 svn 7 Dec 5 17:48 current
-rw-rw-r-- 1 svn svn 5 Dec 5 17:47 fs-type
drwxrwsr-x 2 svn svn 4096 Dec 5 17:48 revprops
drwxrwsr-x 2 svn svn 4096 Dec 5 17:48 revs
drwxrwsr-x 2 svn svn 4096 Dec 5 17:49 transactions
-rw-rw-r-- 1 svn svn 37 Dec 5 17:47 uuid
-rw-r--r-- 1 user1 svn 0 Dec 5 17:48 write-lock

When user2 attempts an import, it fails because the permissions on
write-lock are 644. The permissions on current, however, are correct.

  • application/pgp-signature attachment: stored
Received on Mon Dec 6 00:39:06 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.