toolboc / psx-pi-smbshare

A swiss army knife for enhancing classic game consoles with Raspberry Pi
387 stars 34 forks source link

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

Open neoname opened 10 months ago

neoname commented 10 months ago

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?

waldnercharles commented 8 months ago

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