Starting a script from USB stick on 10.10 and newer

Roland Turcan konf at rotursoft.sk
Tue Aug 23 12:24:50 UTC 2011


<<< 23.08.2011 9:18:05 - Ben Tinner "bentinner at yahoo.com.sg" >>>
BT> Did you make the script executable?

The problem is that "chmod +x" doesn't help, because it has no effect
and the file will not have executable anyway.

The best solution is to get the "auto mounting" process back to the
state as it was in 10.04 or older where all files from USB stick got
executable permission and execution directly from USB was possible.


BT> On Mon, 22 Aug 2011 23:10 CST Roland Turcan wrote:

>><<< 16.08.2011 22:18:49 - Roland Turcan "konf at rotursoft.sk" >>>
>>RT> <<< 16.08.2011 18:05:33 - Johnny Rosenberg "gurus.knugum at gmail.com" >>>
>>JR>> 2011/8/16 Roland Turcan <konf at rotursoft.sk>:
>>>>> Hello all,
>>>>>
>>>>> I need to be able to start a script located on USB stick which is
>>>>> mounted as VFAT with "showexec" option.
>>>>>
>>>>> Where can I change the automount options to get "exec" option for all
>>>>> connected USB sticks?
>>>>>
>>>>> PS: On 10.04 was usb stick mounted without "noexec" or "showexec"
>>>>> option and therefore it is possible to start a script.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>
>>JR>> Do you mean that you want a script to execute as soon as you plug in
>>JR>> the stick in the USB port?
>>
>>RT> No, I meant to start any bash script using double click from USB
>>RT> stick.
>>
>>I don't believe that no one knows the solution here.
>>
>>Please help me!
>>
>>-- 
>>Best regards, TRoland
>>http://www.rotursoft.sk
>>http://exekutor.rotursoft.sk
>>
>>
>>-- 
>>ubuntu-users mailing list
>>ubuntu-users at lists.ubuntu.com
>>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users






-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk





More information about the ubuntu-users mailing list