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

RE: [Subclipse-users] How to preserve file permissions when using svn commit

From: Steven Schwartz <sschwartz_at_feedroom.com>
Date: Fri, 2 May 2008 10:48:13 -0400

Subversion should not attempt to "maintain" file permissions. The
repository holds artifacts (code) that can be checked out in a variety
of contexts: development / sandbox, testing, deployment. Different file
permissions are appropriate in each context. A reasonable default is to
make newly-checked-out code rw for the owner, and read or null for group
and other.

Another perspective: the owner (and Unix group) -identities- will
probably differ in each of these contexts. You cannot assume that the
effective permissions in one context should be the same.

--Steve

-----Original Message-----
From: Mark Phippard [mailto:markphip_at_gmail.com]
Sent: Friday, May 02, 2008 10:37 AM
To: users_at_subclipse.tigris.org
Subject: Re: [Subclipse-users] How to preserve file permissions when
using svn commit

On Thu, May 1, 2008 at 9:58 PM, shertay <shertay_at_gmail.com> wrote:

> I realised that the file permission of files that I commited to the
> repository using command line "svn commit" changed. Initially they
are
> rw-rw-r, but the commited files in repository are rw-r-r only. May I
know is
> that a way to preserve the file permissions? or to configure the file
> permissions for svn commit??

The is is really a Subversion question, not Subclipse. To answer it
though, Subversion does not manage, version, or store file
permissions. The lone exception is that on Unix systems you can set a
property named svn:executable on a file, and if that file is set, then
the client will set the executable bit on the file.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-05-02 16:48:23 CEST

This is an archived mail posted to the Subclipse Users mailing list.

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