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

Re: question about unix file permissions

From: Eric Wilhelm <ewilhelm_at_sbcglobal.net>
Date: 2004-07-03 01:44:27 CEST

# The following was supposedly scribed by
# Tim Alsop
# on Friday 02 July 2004 05:42 pm:

>I wondered if there were any plans to support unix file permissions and
>ownership for files in the repository ? Currently when I check out my
>build environment from subversion I have to modify all of the shell
>scripts using 'chmod u+x' so that they are executable. If it was
>possible to store permissions of unix files in the repository this could
>be avoided. Any ideas ?

I'm not sure about permissions in general, but you can have them executable:

svn propset svn:executable 1 <svn-controlled file>

I hadn't thought about this before your post. I've recently taken to using a
'new file' script which chmod's the file as 755 before doing 'svn add'. The
files added in this way stay executable when checked out elsewhere, while
those that have been chmod'd after being added don't.

--Eric

-- 
"It ain't those parts of the Bible that I can't understand that 
bother me, it's the parts that I do understand."
                                        --Mark Twain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 3 01:45:03 2004

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.