[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can not set execute permission to file in usb storage media with fat32 format



Very strange. The usb stick was mounted by debian system automatic. If I login with root and plug usb stick, I can execute the script after automatic mounting. But if I login with user and plug usb stick, I cann't execute it after automatic mounting with message "permission denied".

2010/12/16 Manon Metten <manon.metten@gmail.com>
> I want to execute some script file in usb storage media with fat32 format,
> but I can not set execute permission to them with "chown +x". What shall I
> do?

I don't think "chown +x" is possible on an alien FS.
On my usb stick with FAT32, all files look like they're executables.

You might simply use:

$ . ./script_file

Manon.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] AANLkTimxSFkTikgoMMizUbZ25+Wkmdqiv1g1nA1EwopS@mail.gmail.com" target="_blank">http://lists.debian.org/[🔎] AANLkTimxSFkTikgoMMizUbZ25+Wkmdqiv1g1nA1EwopS@mail.gmail.com



Reply to: