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

  • SMB Permissions
    ... I have been running samba for some time, but I can't seem to get permissions ... My file server has two users, me and my wife. ... /public (rw to me and my wife, ro for guests) ... How do I implement a "guest" account? ...
    (Fedora)
  • Re: File and Folder permissions..
    ... Do not set fixed permissions that may be wrong, use chmod g+w to add write access for the group. ... Backup,,, A cronjob that change ctime every hour will tag all files as candidates for incremental backup, only change the files that need to be changed. ... A file has one owner, and if someone need to change it, just make a copy and change the copy, so your wife now are the owner of her version. ...
    (alt.os.linux.suse)
  • NTFS/share permissions
    ... I have computers A & B on a network in my home. ... My wife mostly uses A while ... administative account and therefor has full access. ... In sharing permissions it's the same. ...
    (microsoft.public.win2000.networking)
  • Re: Sound Permissions on FC4
    ... Is your wife logging in at the same time you are, ... The permissions to /dev/dsp are set to the first person who logs in to ...
    (linux.redhat)
  • Re: SMB Permissions
    ... My file server has two users, me and my wife. ... I'd like to make 3 shares, plus a home directory: ... However, I run into tons of permissions problems when I create a file, and she reads it, and vice versa. ... Maybe the "create mask" parameter in smb.conf for the shares you're interested in may help. ...
    (Fedora)