Re: Bash scripts

2011-04-24 Thread Paul Fox
kevin wrote: Sascha: Continued to play with this. Went into nautilus on an ext2 formatted card, and there is a checkbox in the panel for allowing execution of files. The owner and other permission boxes didn't seem to do anything; but, clicking that on *did* work. Also, you were

Re: Bash scripts

2011-04-18 Thread Sascha Silbe
Excerpts from Kevin Gordon's message of Sun Apr 17 17:19:36 +0200 2011: any build before. Log in as root (su -) Write a little script - it can be a one liner, echo Hello World is good enough. Save it as test.sh to a USB stick which has been formatted FAT32 and has a volume name FEDORA. Do

Re: Bash scripts

2011-04-18 Thread Sascha Silbe
Excerpts from Kevin Gordon's message of Mon Apr 18 00:36:26 +0200 2011: But, since my main use of this technique is to semi-automate the process of installing a slew of custom activities and rpm's upon initial build and deployment, having to manually change every machine manually to basically

Re: Bash scripts

2011-04-18 Thread James Cameron
On Mon, Apr 18, 2011 at 10:13:56AM +0200, Sascha Silbe wrote: If you're only using this USB stick with Linux machines, why don't you just format it using a file system with POSIX semantics, i.e. ext3? I don't know about Kevin, but for me some USB flash drives become slower at writing of large

Re: Bash scripts

2011-04-18 Thread Kevin Gordon
Sascha: The file system actually had no bearing on the issue I was having, whether ext2, ext3, or FAT32, the symptoms were identical - recent versions of udisks now does not allow 'direct' execution of scripts from auto-mounted removable media. Also, there is some debate as to whether putting a

Bash scripts

2011-04-17 Thread Kevin Gordon
Martin and the Gang: Since last we spoke, I've been working on this new issue I'd mentioned, where when I try to run a bash shell script resident on a USB drive inserted into an OS16 OLPC, I always get Permission Denied. But now, I'm not sure it's a bug; and if so, I'm now pretty sure it isn't

Re: Bash scripts

2011-04-17 Thread Ismael Luceno
El Sun, 17 Apr 2011 11:19:36 -0400 Kevin Gordon kgordon...@gmail.com escribió: Perhaps one could conjecture that this is some added security, or new property for execution of scripts resident on portable drives that has been implemented. However, as for 'filing a bug report', it looks like

Re: Bash scripts

2011-04-17 Thread Kevin Gordon
Jerry Vonau For the WIN! A yum downgrade udisks reinstalls the 1.0.1-4 package and makes it behave just like before. Nice little green file-names on teh ls output, the ability to run scripts from USB drives without the bash command returns, and tab complete functions again.. Again, since this

Re: Bash scripts

2011-04-17 Thread Martin Langhoff
On Sun, Apr 17, 2011 at 4:28 PM, Kevin Gordon kgordon...@gmail.com wrote: Again, since this package is used all through fedora, (and on Ubuntu too, I think), I doubt little old me should be telling the upstream world how it should work. Bingo. It's a security feature -- avoids the situations

Re: Bash scripts

2011-04-17 Thread Kevin Gordon
Thanks all, I'll reinstall back up to the OS16 version of udisks and enter 'bash ' before the script name. Just FYI, there were some other novel suggestions involving policy kit oerrides, fstab entries, and even some other funky flag settings. But, since my main use of this technique is to