toolboc/psx-pi-smbshare

Default smb configuration only works if "pi" user is present

neoname opened this issue · 1 comments

The samba share currently set up by the script has a pre-set force user setting in the config file.
The default value of this setting is force user = pi, however if no pi user is present on the system the samba share will not work.
This requires manual reconfiguration of the script, and it's especially difficult since the issue might be hard to identify (it's not intuitive to look in the config file if the script is supposed to make it work by default)
Please adjust this setting to ensure the default configuration will work independently of the user. Maybe make it so that the value of force user is set to the current user running the script?

There appear to be more places in the scripts where this is an issue.