You are not logged in.

#1 2008-05-22 17:08:15

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Transfer to flash drive makes things executable - what gives?

It seems that, whenever I put something on my USB flash drive (Kingston DataTraveler 1 GB) the executable bit for it gets set. So, if try to open a text file that's been on the drive, Gnome asks me if I want to run it, etc. It's especially annoying because Gnome lacks the ability to recursively change the permissions on things.

(Yes, I've tried using chmod -x -R for that, it doesn't work. As user it complains about not having permission, and as root via sudo it makes files disappear.)

So, how do I make my USB drive stop making everything executable? I'm pretty sure that's not supposed to happen.

Offline

#2 2008-05-22 17:53:19

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Transfer to flash drive makes things executable - what gives?

That's the trouble with FAT filesystem for ya. It doesn't support any reasonable permissions. You could probably solve this by mounting it with special umask ('man 8 mount', search for umask).

Offline

#3 2008-05-22 18:42:18

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Transfer to flash drive makes things executable - what gives?

Might also try formatting a flashdrive for use with ext2/ext3 or reisersfs.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#4 2008-05-22 19:25:53

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Transfer to flash drive makes things executable - what gives?

Bleh. Can WinNT machines handle JFFS2?

Offline

Board footer

Powered by FluxBB