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

1.1.0rc2 - commit permissions prob (file: access/fsfs repos)

From: Francis Upton <francisu_at_ieee.org>
Date: 2004-08-25 16:52:02 CEST

Using svn 1.1.0rc2 on linux (FC2):

I'm having trouble with file permissions when trying to commit. I'm
accessing the fsfs repository using the 'file:' url. My previous commit
was done by root.

My current commit is being done by "francis".

Is there some way I can configure around this?

[francis@berlioz qrs2]$ svn commit -m "test message"
Adding xx
Transmitting file data .svn: Commit failed (details follow):
svn: Can't move '/var/svn/oaklandsw/db/current.3.tmp' to
'/var/svn/oaklandsw/db/current': Operation not permitted

Here was the state of the repos before the commit

root@berlioz db]# ll
total 36
-rwxrwxrwx 1 root root 10 Aug 25 07:23 current
-rwxrwxrwx 1 apache root 10 Aug 25 07:18 current.2.tmp
-rwxrwxrwx 1 francis root 10 Aug 25 07:44 current.3.tmp
-rwxrwxrwx 1 francis root 10 Aug 25 07:21 current.tmp
-rwxrwxrwx 1 root root 5 Aug 21 22:41 fs-type
drwxrwsrwt 2 root root 4096 Aug 25 07:44 revprops
drwxrwsrwt 2 root root 4096 Aug 25 07:44 revs
drwxrwsrwt 2 root root 4096 Aug 25 07:44 transactions
-rwxrwxrwx 1 root root 37 Aug 22 02:29 uuid
-rwxrwxrwx 1 root root 0 Aug 22 02:30 write-lock

Then I did:

[root@berlioz db]# chown francis current

[francis@berlioz qrs2]$ svn commit -m "test message"
Adding xx
Transmitting file data .
Committed revision 66.
[francis@berlioz qrs2]$

Here is the state after the commit

[root@berlioz db]# ll
total 36
-rwxrwxrwx 1 francis root 10 Aug 25 07:45 current
-rwxrwxrwx 1 apache root 10 Aug 25 07:18 current.2.tmp
-rwxrwxrwx 1 francis root 10 Aug 25 07:44 current.3.tmp
-rwxrwxrwx 1 francis root 10 Aug 25 07:21 current.tmp
-rwxrwxrwx 1 root root 5 Aug 21 22:41 fs-type
drwxrwsrwt 2 root root 4096 Aug 25 07:44 revprops
drwxrwsrwt 2 root root 4096 Aug 25 07:44 revs
drwxrwsrwt 2 root root 4096 Aug 25 07:45 transactions
-rwxrwxrwx 1 root root 37 Aug 22 02:29 uuid
-rwxrwxrwx 1 root root 0 Aug 22 02:30 write-lock
[root@berlioz db]#

Thanks,

Francis

Francis Upton IV
H/W 510 835 3123
C 510 432 1589
F 501 648 1464 (yes, it is 501)
blog: http://www.nogoop.com/mt/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 25 16:52:47 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.