[Samba] group share directory
David Christensen
dpchrist at holgerdanske.com
Mon Sep 16 13:39:55 MDT 2013
On 09/16/13 09:58, David Christensen wrote:
> Perhaps I need to forget about local
> access and settle for a Samba solution for regular files and directories
> only -- e.g. configure Samba to provide the needed functionality and
> then make Samba the only way into or out of GroupShare.
This seems to work:
# grep groupshare /etc/passwd
groupshare:x:999:999::/home/groupshare:/bin/false
# grep groupshare /etc/group
groupshare:x:999:
# ls -ld /mnt/z/groupshare/
drwxrwxrwx 3 groupshare groupshare 4096 Sep 16 12:24 /mnt/z/groupshare/
# grep -A 99 groupshare /etc/samba/smb.conf
[groupshare]
path = /mnt/z/groupshare
force user = groupshare
read only = No
create mask = 0777
force create mode = 0666
force security mode = 0666
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
force unknown acl user = Yes
HTH,
David
More information about the samba
mailing list