You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this forces this app to be run as root. With small changes, it can be run from the user context:
//settings/settings.govarsettingsFolderstring=os.Getenv("HOME")+"/.config/sensible/"varsettingsFilestring=settingsFolder+"settings.yaml"varlogFilestring=settingsFolder+"logs.txt"...//utility/fileutil.go// CreateFolder Create a folder and check if creation was successfulfuncCreateFolder(pathstring) {
err:=os.MkdirAll(path, os.ModePerm)
...
This will need to be adjusted so that it autodetects the context, and changes back to the original path's when run as root.
The text was updated successfully, but these errors were encountered:
Currently the settingsfile is hardcoded to be in /etc.
sensible/settings/settings.go
Line 56 in efad618
this forces this app to be run as root. With small changes, it can be run from the user context:
This will need to be adjusted so that it autodetects the context, and changes back to the original path's when run as root.
The text was updated successfully, but these errors were encountered: