Redhat:Samba share group

From Define Wiki
Jump to navigation Jump to search

Samba Group Directories

To configure a directory for access by everyone in a group:

[public]
    comment = Public Stuff
    path = /home/samba
    public = yes
    writable = yes
    printable = no
    write list = +groupname

The group that can access the folder is defines as +groupname or @groupname

To define the default permissions you may add:

create mask = 0770
directory mask = 2770

Windows does not allow users and groups to have the same name. In order to get around this create a new group with a different name.