Samba Shares
Posted: 10 Jan 2016 14:55
Hello,
i have set up a new installation of nas4free and replaced a freenas-system. My team with their Windows10-maschines should have full permissions on the share "kundendaten". They and myself are members of the group "mitarbeiter".
The filesystem is UFS and i mountet it with the owner "marcus" (me) and group "mitarbeiter", the permission-set is 770.
The problem is, that i want to set permissions 0770, but i get 0730, the group is not allowed to read.
I searched the internet hours and hours and tried a lot of things, but nothing worked.
Do you have a solution for me?
Thank you very much
Marcus
My smb4.conf:
[global]
server role = standalone
encrypt passwords = yes
netbios name = mynas
workgroup = ARBEITSGRUPPE
server string =
security = user
max protocol = SMB3
client max protocol = SMB3
dns proxy = no
# Settings to enhance performance:
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=128480 SO_RCVBUF=128480
# End of performance section
unix charset = UTF-8
local master = yes
domain master = yes
preferred master = yes
os level = 35
time server = yes
guest account = ftp
map to guest = Never
max log size = 100
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap cache time = 0
printcap name = /dev/null
disable spoolss = yes
log level = 1
dos charset = CP852
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
idmap config * : backend = tdb
idmap config * : range = 10000-39999
aio read size = 1024
aio write size = 1024
username level = 3
[Kundendaten]
comment = Kundendaten
path = /mnt/mynas/kundendaten/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = no
vfs objects = shadow_copy2 aio_pthread
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
create mask = 0770
directory mask = 0770
force create mode = 0770
force directory mode = 0770
force group = mitarbeiter
inherit permissions = no
oplocks = no
valid users = mitarbeiter
i have set up a new installation of nas4free and replaced a freenas-system. My team with their Windows10-maschines should have full permissions on the share "kundendaten". They and myself are members of the group "mitarbeiter".
The filesystem is UFS and i mountet it with the owner "marcus" (me) and group "mitarbeiter", the permission-set is 770.
The problem is, that i want to set permissions 0770, but i get 0730, the group is not allowed to read.
I searched the internet hours and hours and tried a lot of things, but nothing worked.
Do you have a solution for me?
Thank you very much
Marcus
My smb4.conf:
[global]
server role = standalone
encrypt passwords = yes
netbios name = mynas
workgroup = ARBEITSGRUPPE
server string =
security = user
max protocol = SMB3
client max protocol = SMB3
dns proxy = no
# Settings to enhance performance:
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=128480 SO_RCVBUF=128480
# End of performance section
unix charset = UTF-8
local master = yes
domain master = yes
preferred master = yes
os level = 35
time server = yes
guest account = ftp
map to guest = Never
max log size = 100
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap cache time = 0
printcap name = /dev/null
disable spoolss = yes
log level = 1
dos charset = CP852
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
idmap config * : backend = tdb
idmap config * : range = 10000-39999
aio read size = 1024
aio write size = 1024
username level = 3
[Kundendaten]
comment = Kundendaten
path = /mnt/mynas/kundendaten/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = no
vfs objects = shadow_copy2 aio_pthread
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
create mask = 0770
directory mask = 0770
force create mode = 0770
force directory mode = 0770
force group = mitarbeiter
inherit permissions = no
oplocks = no
valid users = mitarbeiter