perfessor101 Posted December 12, 2019 Share Posted December 12, 2019 Hello, I have some scripts on the flash drive under a custom directory. they worked ... have upgraded a few times since ... now they don’t work. I get “-bash: ./directory.watch.sh: Permission denied” when I try “chmod +x directory.watch.sh” there’s no error, but the permissions don’t change. do I need to use sudo now? thanks for your time, bobby Quote Link to comment
itimpi Posted December 12, 2019 Share Posted December 12, 2019 1 minute ago, perfessor101 said: Hello, I have some scripts on the flash drive under a custom directory. they worked ... have upgraded a few times since ... now they don’t work. I get “-bash: ./directory.watch.sh: Permission denied” when I try “chmod +x directory.watch.sh” there’s no error, but the permissions don’t change. do I need to use sudo now? thanks for your time, bobby This is mentioned in the release notes as part of tightening up security of the flash drive. Files on the flash drive can no longer be given execute permission. The easiest way around it is to run the command giving the script name as a parameter. E.g. bash scriptname if you run scripts via the User Scripts plugin it will automatically handle such issues for you. Quote Link to comment
dnLL Posted March 3, 2020 Share Posted March 3, 2020 I'm hijacking this thread a little bit but I had duplicati taking care of backuping my /boot/config stuff amongsts other things and it doesn't work anymore with the new permissions and... I can't change the permissions apparently even as root on my server. I know I could use the backup tools in Community Application but I like having everything centralized. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.