You are not logged in.
Pages: 1
i use gnome, the pendrive automount ok, but i can't exec bash scripts inside the pendrive
but if i mount the pendrive in the old way (in cli) with
mount -t vfat -o umask=000 /dev/sdb1 /media/pendrive/
works perfect
how to make gnome automatically mount with the option umask=000 ??
thanks
Offline
good question, i'm interested
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
My new forum user/nick name is "the.ridikulus.rat" .
Offline
Some not quite related info, bus somewhat related anyway. http://www.h-online.com/security/news/i … 03617.html
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
The problem might not be the umask.
When you mount under gnome, is the drive being mounted with the noexec flag?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
The problem might not be the umask.
When you mount under gnome, is the drive being mounted with the noexec flag?
If GVFS is used, then the flag is "showexec":
showexec
If set, the execute permission bits of the file will be allowed
only if the extension part of the name is .EXE, .COM, or .BAT.
Not set by default.
@dunkles: If you mount your usb as /media/xxx, then instead of doing /media/xxx/script.sh, do
bash /media/xxx/script.sh
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
@dunkles: If you mount your usb as /media/xxx, then instead of doing /media/xxx/script.sh, do
bash /media/xxx/script.sh
works, but if the script have a reference to another script or executable say "permision denied"
and edit a lot of scripts adding the "bash" before it's not the best
Offline
Pages: 1