December 12, 20196 yr 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
December 12, 20196 yr Community Expert 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.
March 3, 20206 yr 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.
Archived
This topic is now archived and is closed to further replies.