added samba share role
parent
a487e9d600
commit
ff2bd4b1ca
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,10 @@
|
||||
---
|
||||
samba_group: smbgroup
|
||||
samba_user: smbuser
|
||||
users:
|
||||
- name: cianhatton
|
||||
shares:
|
||||
- /share
|
||||
- /share/public_files
|
||||
- /share/private_files
|
||||
- /share/private_files
|
||||
- /share/cian_files
|
||||
@ -1,28 +1,9 @@
|
||||
[Public Files]
|
||||
path = /share/public_files
|
||||
# the user that we're going to force this to be shared as
|
||||
force user = smbuser
|
||||
force group = smbgroup
|
||||
# permissions for new files
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
# permissions for new directories
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
public = yes
|
||||
[Cian Private Files]
|
||||
comment= My Private Files
|
||||
path = /share/cian_files
|
||||
valid users = cianhatton
|
||||
public = no
|
||||
writable = yes
|
||||
|
||||
[Private Files]
|
||||
path = /share/private_files
|
||||
# the user that we're going to force this to be shared as
|
||||
force user = smbuser
|
||||
force group = smbgroup
|
||||
# permissions for new files
|
||||
create mask = 0664
|
||||
force create mode = 0664
|
||||
# permissions for new directories
|
||||
directory mask = 0775
|
||||
force directory mode = 0775
|
||||
public = yes
|
||||
writable = no
|
||||
|
||||
browsable = yes
|
||||
printable = no
|
||||
create mask = 0765
|
||||
|
||||
Loading…
Reference in New Issue