Ubuntu 14.04 Samba Freigabe einrichten


[global]
workgroup = HONU
server string = %h server (Samba)
dns proxy = no
security = user
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
map to guest = bad user

[backup]
path = /lv1/backup
valid users = @honu
guest ok = no
writable = yes
browsable = yes
force directory mode = 02775
directory mask = 02775
force create mask = 0664
create mask = 0664

Samba neustarten

root@nas01:/# service smbd restart
root@nas01:/# chmod 02775 /lv1/backup/
root@nas01:/# chmod -R g+s /lv1/backup/
root@nas01:/# chown :honu /lv1/backup/