Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2004, 01:15 PM   #1
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
Exclamation Executing Files on a vfat partition

I am running fedora core and have a FAT32 partition which is mounted on /E at boot time. the umask for filesystem is set to 000. it is user mountable, exec and rw options are on.

when an `ls` is done, permissions are shown as rwxrwxrwx , that is full permissions (Due to umask 000). Read and Write are working fine.

When linux binary is executed from this partition, an error message is thrown :

bash: ./binaryname: Permission denied.

When I am trying to install from installers on that partition, error message of bad interpreter is displayed.

Any way of executing binary in such a scenario?

Old 01-22-2004, 01:59 PM   #2
LQ Newbie
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
I'm not sure, but I think the permissions shown for the FAT partition are phony and have no effect. Linux just puts them there because it has to show something.

So even if it shows as 'x', Linux may not want to execute it.
Old 01-22-2004, 02:33 PM   #3
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
My /etc/fstab line doesn't use umask...

I just put in the option user and then I mount it with my user and I can read/write/exec.

/dev/hda7 /media/multimedia vfat noauto,user 0 0
Old 01-23-2004, 05:04 AM   #4
Registered: Jan 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for hints!
Simply removing all options and using defaults worked.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
user/local files for vfat partition anjanesh Fedora 2 11-12-2004 09:32 PM
From WindowsXP I cannot access files written onto vfat-partition under Linux Agi Hammerthief Linux - Hardware 10 01-19-2004 01:07 PM
Executing scripts on a vfat partition maciejz Linux - General 3 05-21-2003 05:35 PM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 03:24 PM
executing files jiggaracci Linux - General 8 10-13-2002 01:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration