Re: SMB Permissions



On 7/31/07, Bob Chiodini <rchiodin@xxxxxxxxxxxxx> 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@xxxxxxxxxx
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@xxxxxxxxxxx
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages