View Single Post
Old 02-26-2015, 03:36 PM   #48
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
Quote:
Originally Posted by eschwartz View Post
And by default external drives are usually mounted noexec, so you cannot run executables and scripts.
I did run few experiments and:
in Puppy Linux I can use FAT32 usb stick and it is perfectly happy to run shell script in the terminal (so I guess it is not the "usual" way of doing things, but Puppy is pretty unique)
in LinuxMint, as you say - the same FAT32 stick mounts noexec and will not run the script whatever I try.

So then I formatted the usb stick to ext2 and made sure that all the stuff on it is rwx for everybody and all is fine, without any addtional fstab rules etc.
The only pain is that copying my large library to ext2 takes forever (and I mean it - no exxageration) compared to FAT32, but... with stick formatted to ext2 (or I guess ext3) and chmod to make it open to everybody I can plug it into any Linux machine and it runs - no questions asked.
So I guess I am happy with that

btw - I have read the links you have included about umask for external drive and can feel a lot of sympathy for the frustrations expressed by the posters on ubuntu forum

That's one of the reasons I like Puppy Linux so much (really no nonsense distro that assumes the people running it have brains and use them and don't need to be "protected" from themselves )
but, it has limitations and sometimes I have to use "grown-up" distros, but it's hard work
bambuko is offline   Reply With Quote