SMB Permissions

Javier Perez pepebuho at gmail.com
Tue Jul 31 14:32:06 UTC 2007


On 7/31/07, Bob Chiodini <rchiodin at bellsouth.net> wrote:
>
> David Frascone wrote:
> >
> > I have been running samba for some time, but I can't seem to get
> > permissions right for the following:
> >
> > My file server has two users, me and my wife.  I'd like to make 3
> > shares, plus a home directory:
> >
> > /media (rw to me and my wife, ro for guests)
> > /public (rw to me and my wife, ro for guests)
> > /private (rw to me and my wife, no other access)
> >
> > And, normal (rw) to owners of /home/USER.
> >
> > However, I run into tons of permissions problems when I create a file,
> > and she reads it, and vice versa.
> >
> > So, the actual questions:
> >
> > 1) How do I implement a "guest" account?  Make a third account?
> > 2) Is there any way to have both accounts (mine and my wife) create
> > files with permissions 777 when we write to shared space, but normal
> > permissions (700) when we write to our home directories?
> >
> > Guess that's about it.  Thanks in advance,
> >
> >
> > -Dave
> >
> > --
> > David Frascone
> >
> > Diplomacy is saying "nice doggy" until you find a rock.
> Dave,
>
> Maybe the "create mask" parameter in smb.conf for the shares you're
> interested in may help (man smb.conf).
>
> Bob...
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

make sure you both belong to the same group and make the share group
writable

-- 
------------------------------
/\_/\
|O O|  pepebuho at pananet.com
~~~~ Javier Perez
~~~~   While the night runs
~~~~   toward the day...
  m m   Pepebuho watches
    from his high perch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070731/3b86081a/attachment-0001.htm>


More information about the fedora-list mailing list