You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by mal content <ar...@googlemail.com> on 2006/08/27 06:00:45 UTC

File permission problem

Hello.

I have an executable script checked into subversion, and every time it is
checked out, it seems to have lost its executable bit.

In my working copy, it's mode 700, if I check out to a new working copy
or export to be packaged, it's gone back to being 600.

What do I need to do to tell subversion that the permissions have changed
(the file probably wasn't executable when it was checked in)?

thanks,
MC

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: File permission problem

Posted by mal content <ar...@googlemail.com>.
On 27/08/06, Ryan Schmidt <su...@ryandesign.com> wrote:
>
> On Aug 27, 2006, at 10:50, Sjoerd Tieleman wrote:
>
> > On 27-aug-2006, at 8:00, mal content wrote:
> >
> >> In my working copy, it's mode 700, if I check out to a new working
> >> copy
> >> or export to be packaged, it's gone back to being 600.
> >>
> >> What do I need to do to tell subversion that the permissions have
> >> changed
> >> (the file probably wasn't executable when it was checked in)?
> >
> > Try setting the property svn:executable on the file.
>
> Other than that, Subversion does not retain file permissions or
> ownership, unless you build the unofficial "metadata versioning"
> branch of Subversion, available in the Subversion repository.
>

Thanks, I'll try that just as soon as I fix the problem that I'm about
to post in another thread...

MC

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: File permission problem

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 27, 2006, at 10:50, Sjoerd Tieleman wrote:

> On 27-aug-2006, at 8:00, mal content wrote:
>
>> In my working copy, it's mode 700, if I check out to a new working  
>> copy
>> or export to be packaged, it's gone back to being 600.
>>
>> What do I need to do to tell subversion that the permissions have  
>> changed
>> (the file probably wasn't executable when it was checked in)?
>
> Try setting the property svn:executable on the file.

Other than that, Subversion does not retain file permissions or  
ownership, unless you build the unofficial "metadata versioning"  
branch of Subversion, available in the Subversion repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: File permission problem

Posted by Sjoerd Tieleman <Sj...@phil.uu.nl>.
On 27-aug-2006, at 8:00, mal content wrote:

> In my working copy, it's mode 700, if I check out to a new working  
> copy
> or export to be packaged, it's gone back to being 600.
>
> What do I need to do to tell subversion that the permissions have  
> changed
> (the file probably wasn't executable when it was checked in)?

Try setting the property svn:executable on the file.

Regards, Sjoerd.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org