On Mon, Mar 11, 2002 at 09:32:51PM +1100, Jeff Waugh wrote:
> <quote who="David Fitch">
> > I have a directory shared/exported by samba and mounted on another (linux)
> > machine.  The problem is when mounted on the second machine all the files
> > and dirs in there are owned by root:root and rwxr-xr-x.  This is despite
> > me mounting it by specifying a username and entering my passwd.  This
> > means of course I can't write to anything under there unless I'm root.  An
> > M$ machine can write to it ok.  So what can I set in the smb.conf file to
> > fix it?  (it's not apparent to me from scanning the doco in
> > /usr/doc/samba-doc.)
> 
> You want to add the uid and gid parameters to your mount command on the
> client machine.

ta that works!  it makes everything under there that uid/gid though, which
is better than root, but not what they really are.  So does that mean to 
preserve the real ownerships of files/dirs I need one of the distributed 
username schemes like nis?

Dave.
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to