Jump to content

Has the was permissions on the flash drive work changed?


Recommended Posts

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 

Link to comment
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.

Link to comment
  • 2 months later...

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...