I've set up a service to run samba as non-root user, where the config file for the daemon and the service are on my home directory (on the proper subdirectories). But I keep getting samba starts and samba stops and the process exists without any information. (Both on systemctl or journalctl).
Can samba be run as a service and non-root user?
samba usershare
and it allows any user the ability to share any folder he owns. You can create it from Nautilus graphically or via the command line.net usershare add TestShare $HOME/Test "My Test" Everyone:F guest_ok=y && chmod 777 $HOME/Test
I just created a samba usershare in a terminal on an Debian server. It's share definition is in /var/lib/samba/usershares. The ability to do that is limited to users who are members of the sambashare group. No Nautilus. No sudo.