David,

Under Redhat 7.1 in /etc/samba/smb.conf there are some examples
one is with mary and fred file share. The command that you need
to add to the share is create mask = 0765. You should be able to
change the mask to what ever you like so that anyone could modify
the file.

Kevin

> 
> Hi all,
> 
> 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.)
> 
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to