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

Re: Subversion on a samba share

From: Bret Hughes <bhughes_at_elevating.com>
Date: 2004-09-14 16:34:20 CEST

On Tue, 2004-09-14 at 09:06, Enno Rehling wrote:
> m christensen wrote:
>
> > What are they doing with this "shared working copy"?
> >
> > If they are "working" in it and making changes, I think the correct
> > answer is not the one you asked for, but DON'T DO THAT.
> >
> > Shared Working copies subvert the whole idea of revision control.
>
> I know that. Beleive me, I know that... We had a long discussion about the
> whole thing, and it fails. It's the way people in that department have
> always worked. All their process and tools are built around that way of working.
>
> We want the stuff they produced in our asset control, which is why we're
> making them use subversion. To the rest of us, that whole department is
> basically one user, because of the way they work. However, to samba, they
> are not just one user - and our network department is refusing to let them
> all be one samba user either.
>
> And poor me is stuck between all those conflicting sides, and the only thing
> that is technically in my way is that subversion is trying to make a file
> read-write and complains about not being allowed).
>
> Even when I tell the samba server to always keep all files with read-write
> permissions, SVN will still try to set the permissions on those files and
> fail because it's not the right user.

can you use the force user on the share?

from man smb.conf:

force user (S)
    This specifies a UNIX user name that will be assigned as the
    default user for all users connecting to this service. This is
    useful for sharing files. You should also use it carefully as
    using it incorrectly can cause security problems.

    This user name only gets used once a connection is established.
    Thus clients still need to connect as a valid user and supply a
    valid password. Once connected, all file operations will be per-
    formed as the "forced user", no matter what username the client
    connected as. This can be very useful.

I do not know why this won't work, but have never tried it.

Bret

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 14 16:35:36 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.