I've got samba running on a computer running Arch Linux. I've gone through the wiki instructions to enable user defined samba shares.
[global]
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
...
However, after that step, i get a bit unsure as to how to define such a folder share through terminal access.
The Arch Wiki mentions GUI (Thunar specifically), which the server does not have since there is no desktop on it, and only way to operate on it is by SSH login.
"Log out and log back in. You should now be able to configure your samba share using GUI. For example, in Thunar you can right click on any directory and share it on the network. If you want to share paths inside your home directory you must make it listable for the group others."
So, I'm wondering if someone could clarify a bit how these user defined shares could be set up by a (non-root) user through command line only?
E.g is it done by symlinks etc.? Is it done by chown'ing any folder in the home directory to group 'others' ?