====== Samba ====== Example **/etc/samba/smb.conf** file: [global] workgroup = WORKGROUP # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d security=user follow symlinks = yes wide links = no unix extensions = no load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes log level = 1 map to guest = bad user [data] path = /data available = yes valid users = pi read only = no browsable = yes force user = debian-deluged force group = debian-deluged create mask = 664 force create mode = 664 directory mask = 0775 force directory mode = 0775 comment = Data Directory veto files = /._*/.DS_Store/ Test config: testparm Restart: sudo systemctl restart smbd.service