World-writeble permissions
jorlandobr opened this issue · 6 comments
Looking the logs I found that warning;
Oct 12 22:45:43 ubuntu systemd[1]: Configuration file /lib/systemd/system/folder2ram_startup.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Oct 12 22:45:43 ubuntu systemd[1]: Configuration file /lib/systemd/system/folder2ram_shutdown.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Thanks for feedback!
Sounds easy enough to fix. I'll do that this weekend.
Will also check write permission on everything else (configs and script itself), as I didn't set write permissions anywhere, and that's admittedly bad.
just pushed an update that should fix this (and remove some debug logspam), I've tested on my system and it seems ok.
If you confirm it's ok I can close this issue.
I am using your program as part of the OMV's plugin flashmemory. I just need to update the binary executable?
yes, update only the /sbin/folder2ram file, then from terminal write (without sudo if you are already logged as root)
sudo chmod +x /sbin/folder2ram
to make sure it is marked as executable (so it can be run)
And then to re-generate systemd service files write on terminal
sudo folder2ram -enablesystemd
Systemd might complain saying that the service is already enabled, you can ignore that.
OMV should eventually package and ship the newer version of this in a package update.
Just checked and everything is ok now!
good, thanks. Closing.