znazz75.de IT-Blog
|
1 2 |
apt install samba nano /etc/samba/smb.conf |
Add at the end:
|
1 2 3 4 5 6 7 8 9 |
[<Name>] comment = <comment> path = </path> read only = no browseable = yes force user = <username> force group = <groupname> create mask = 0664 directory mask = 2775 |
Restart service and add user to connect. User must exist in the system:
|
1 2 |
systemctl restart smbd smbpasswd -a <username> |