udisk problem
Posted: 22. Nov 2012, 10:06
				
				This problem applies to 14rc2. Apart from the wonderful idea of mounting removable media in /run/media/<username>/<media-name>, udisk works with polkit and sets things like execute permissions without bothering to ask. Great....
Problem I've got is that I need to be able to execute a bash script on a Vfat-formatted flash drive. The script is not executable, nor are any of the progams that the script executes. While I can understand the reasons for doing things like this, I really object to having my control of what I want the system to do removed. And I need to be able to execute the script....
So, can anyone tell me how the rules regarding mount parameters are set? I've done some hunting, but so far can't work out how to modify the mount rules.
This isn't a Salix/Slackware problem - all distros that are going to udisk or udisk2 have the same defaults. Reminds me far too much of Windows.... 
 
Paul.
			Problem I've got is that I need to be able to execute a bash script on a Vfat-formatted flash drive. The script is not executable, nor are any of the progams that the script executes. While I can understand the reasons for doing things like this, I really object to having my control of what I want the system to do removed. And I need to be able to execute the script....
So, can anyone tell me how the rules regarding mount parameters are set? I've done some hunting, but so far can't work out how to modify the mount rules.
This isn't a Salix/Slackware problem - all distros that are going to udisk or udisk2 have the same defaults. Reminds me far too much of Windows....
 
 Paul.
 I've made a few attempts to work out how its done, so far, no information at all....
 I've made a few attempts to work out how its done, so far, no information at all.... I've recently hit a similar problem - Firefox, in its attempts to make things safer, no longer lets write operations be performed on local files. So WoaS, which I've been using for years for documentation, will no longer work under Firefox. No way that a user can make an informed decision and override the settings. Fortunately, at least in that case, it does work when run in Midori.
 I've recently hit a similar problem - Firefox, in its attempts to make things safer, no longer lets write operations be performed on local files. So WoaS, which I've been using for years for documentation, will no longer work under Firefox. No way that a user can make an informed decision and override the settings. Fortunately, at least in that case, it does work when run in Midori. Wish I knew what the difference between that manual mount and a mount via fstab is, but it works....
  Wish I knew what the difference between that manual mount and a mount via fstab is, but it works.... The manual addition of "-o exec" sounds like a no brainer, and I'm confident that the equivalent parameter could be specficied in /etc/fstab. Wish I could supply the solution; just very busy ATM so the best I can do is to provide the encouragement instead.
 The manual addition of "-o exec" sounds like a no brainer, and I'm confident that the equivalent parameter could be specficied in /etc/fstab. Wish I could supply the solution; just very busy ATM so the best I can do is to provide the encouragement instead. 