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

Re: subversion changes file permissions on commit

From: Branko Čibej <brane_at_wandisco.com>
Date: Tue, 22 Oct 2013 09:56:40 +0200

On 22.10.2013 07:13, Branko Čibej wrote:
> On 21.10.2013 18:16, Attila Nagy wrote:
>> On 10/15/2013 08:09 AM, Attila Nagy wrote:
>>> I store OS images in svn, so I need to record file permissions and
>>> ownership. For this, I use properties.
>>> But svn changes real file permissions:
>> OK, long story short. Isn't this a security issue?
> No, because Subversion does not promise to restore original file
> permissions, and therefore you shouldn't rely on it to do so.
>
> There used to be a Unix-specific patch for storing and restoring the
> permissions bits, but it does not appear to be mantained.

And moreover the working copy keeps a pristine version of every
(committed) file; those pristine versions are also created with the
default permissions dictated by umask.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-10-22 09:57:21 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.