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

Re: Bug in Subversion regarding file attributes

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Sun, 21 Aug 2011 17:27:37 +0200

Guten Tag Andy Canfield,
am Sonntag, 21. August 2011 um 15:02 schrieben Sie:

> I am having a similar problem now with directories that need to be
> globally readable. This happens because the repository contains a web
> site, and the user ('andy') who checks out the repository is not the
> user (Apache: www-data) who runs the PHP code. I have created scripts to
> handle this but the user has to remember to run the script every time he
> does a checkout. AFAIK there is no "svn:writable" property.

The need to checkout the site should be very rare, because the normal
process would be to checkout, run your script, adjust the permissions
of folders to be inherited and only update the site. As Subversion
doesn't care of the permissions, it won't change them either.

> I am beginning to see that Subversion manages the CONTENTS of the files,
> but does not do well at managing the ATTRIBUTES of the files.

It wasn't designed to do so.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-08-21 17:27:57 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.