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

Re: SVN and Windows/Linux permissions

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 17 Mar 2010 13:30:13 -0400

On Wed, Mar 17, 2010 at 13:28, <Jeff.Drake_at_cox.com> wrote:
> The svn:executable property is maintained, the devs need some more granularity unfortunately. We aren't connecting over samba, our export is to local disk.

Subversion doesn't track permissions like you're wanting.

Maybe have your build/export script set the permissions as part of your process?

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: Wednesday, March 17, 2010 1:02 PM
> To: Drake, Jeff (CCI-Atlanta)
> Cc: users_at_subversion.apache.org
> Subject: Re: SVN and Windows/Linux permissions
>
> On Wed, Mar 17, 2010 at 12:40,  <Jeff.Drake_at_cox.com> wrote:
>> This might not really be a SVN question, but somebody may have encountered
>> it. I need to be able to export code from windows hosted SVN (Apache/2.0.58
>> (Win32) DAV/2 SVN/1.3.1) and maintain linux permissions set by linux clients
>> at commit time.   I typically get permissions that omit the group and other
>> permissions, like so:
>>
>>
>>
>> Y:\ls -altr
>>
>> total 77
>>
>> -rwx------+ 1 +Administrators  Domain Users    686 Mar 17 12:25 run.sh
>>
>>
>>
>> Do I *have* to dl to a linux partition, will windows always strip some unix
>> permissions?
>
> Subversion doesn't track/manage permissions beyond +x (executable).
>
> If you're connecting to a SAMBA share from Windows and doing an export
> there, it's down to your SAMBA configuration.
>
Received on 2010-03-17 18:31:00 CET

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