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

File permission after update

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Wed, 11 Jun 2008 12:46:05 +0100

We use Subversion 1.4.4 on a Linux box with Apache. The user/group that
runs apache is svn/svn, and umask for user svn is 000. We use a common
WC to perform automatic merges. This WC is created once and then updated
after every commit (in the post-commit hook)

When I checked out the WC everything was fine: all files have rw
permission for everybody and all directories have rwx permission for
everybody.

When I do an update however, and I have new directories, these are added
with rwx permission for svn user only, and r permission for the group
and everybody else. This is particularly true for the .svn directories
too.

The problem we're having is that when a user then tries to merge his
changes, the script they use makes use of the WC and then commits from
there. However Subversion complains that it cannot access a ./lock file
and the commit fails.

I'm sorry I cannot provide a more precise explanation, but we had to fix
the problem straight away (which means a simple chmod) to allow the
process to go through. Next time it happens I will make an effort and
get more info.

In the meantime, does anybody have any idea why this would happen? Has
anybody experience something like this or similar?

Giulio
 
 
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-11 13:46:37 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.