LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-22-2004, 02:15 PM   #1
pymehta
Member
 
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?

TIA
PYM.
 
Old 01-22-2004, 02:59 PM   #2
vinyl1
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, 03:33 PM   #3
objorkum
Member
 
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, 06:04 AM   #4
pymehta
Member
 
Registered: Jan 2004
Posts: 54

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

PYM
 
  


Reply


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 10:32 PM
From WindowsXP I cannot access files written onto vfat-partition under Linux Agi Hammerthief Linux - Hardware 10 01-19-2004 02:07 PM
Executing scripts on a vfat partition maciejz Linux - General 3 05-21-2003 06:35 PM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 04:24 PM
executing files jiggaracci Linux - General 8 10-13-2002 02:38 PM


All times are GMT -5. The time now is 06:51 AM.

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