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

Re: Leopard + Samba permissions issue?

From: <alan.wood_at_clear.net.nz>
Date: Sat, 27 Sep 2008 17:26:30 +1200

Hi
I have been looking at svn and samba recently, but only with the windows client.
 There are comments in the windows versions of apr_file_rename() regarding not
being able to rename when the destination file is R/O on windows, you can do this on
unix. The problem is probably in this area where the apr routines on a unix client
expect the rename() library call to be able to rename over a read-only file irrespective
of the file system referenced.
  You could create a patch to change the destination file to read/write before the
rename library call, like the windows version of the apr_file_rename does.
 I simpler idea for the user could be to add the configuration line force
"create mode 0200" to the smb.conf file on the Samba server, this keeps the .svn
files read/write and should work as long as you don't run the svn client on the server
machine ( which is why this isn't a solution for me)

Alan Wood

On 26 Sep 2008 at 12:01, camdenx wrote:

>
> I have the same problem.
>
> The entries file is created with the following permissions:
> -r-xr-xr-x
>
> Since that is read-only to the SVN client it gives the same error you
> mentioned above.
>
> Does anyone have any suggestions on how to fix this?
>
>
>
> Jason Casden wrote:
> >
> > OS: MacOS Leopard
> > SVN Version: 1.5.1 (MacPorts)
> > Options: standard MacPorts version
> > No private mods
> >
> > When checking out a repository using the command-line utility to an
> > svn+ssh server to a new target directory on a samba mount, I get the
> > following error:
> >
> > svn: Can't move 'ncarch/.svn/tmp/entries' to 'ncarch/.svn/entries':
> > Operation not permitted
> >
> > It seems to be caused by some read-only files. This is not a problem
> > using the same version and distribution of svn on MacOS Tiger.
> >
> > I really appreciate any help you can provide on this issue.
> >
> > Thanks,
> > Jason
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> > For additional commands, e-mail: dev-help_at_subversion.tigris.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Leopard-%2B-Samba-permissions-issue--tp18739036p19694511.html
> Sent from the Subversion Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-27 07:27:09 CEST

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.