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

Re: [Issue 870] New - import should set svn:executable automatically

From: Arkadiusz Miskiewicz <misiek_at_pld.ORG.PL>
Date: 2002-08-19 18:13:07 CEST

Peter Davis <peter@pdavis.cx> writes:

> On Tuesday 13 August 2002 12:08, issues@subversion.tigris.org wrote:
> > + When importing, we should detect executableness on files and set the
> > + svn:executable property automatically.
>
> One problem: if I mount an smb share in Linux, (almost) all files are
> executable, whether they should be or not. This is because Windows doesn't
> have an executable bit, and Samba uses those bits to store Windows' archive,
> read-only and system attributes.

smbmount(8):

       fmask=<arg>
              sets the file mask. This determines the permissions that remote
              files have in the local filesystem. The default is based on the
              current umask.

       dmask=<arg>
              sets the directory mask. This determines the permissions that
              remote directories have in the local filesystem. The default
              is based on the current umask.

> So this might not be totally reliable, and I'd rather have to go through and
> manually set svn:executable on my few executable files than have to unset it
> on all my other files.
So mount with proper mount options and then set svn:executable manually. Should
work.

> Peter Davis

-- 
Arkadiusz Mi¶kiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 19 18:28:22 2002

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

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