LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-10-2005, 11:24 PM   #1
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Rep: Reputation: 0
vfat file permissions


I cannot change the file permissions for my fat32 drive. I can only accesses the files while I am root. I tried chmod I could change all the other files permissions.

My fstab look like this for the offending file.

Code:
/dev/hdb2  /files/Music  vfat  rw,user,exec  0  0
I tried hunting around google but could not find anything
 
Old 03-10-2005, 11:46 PM   #2
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
In this http://www.linuxquestions.org/questi...?postid=706165 thread it says that changing the user is prohibited I think it means I have to mount it differently. I want to make it so the "other" permission has read and execute.

 
Old 03-11-2005, 12:10 AM   #3
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
I should have googled around a little more I was close. It was the fstab file I changed it as followed.

Code:
/dev/hdb2  /files/Music  vfat  defaults,umask=000,mode=777 1  0
This is where I got the information http://www.issociate.de/board/post/1..._do_chmod.html
 
Old 03-11-2005, 12:38 AM   #4
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
I still cannot change the owner of the file.
 
Old 03-11-2005, 07:45 AM   #5
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
http://www.geocities.com/wnarifin/linux/fstab.txt
 
Old 03-11-2005, 08:20 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,513

Rep: Reputation: 58
Quote:
Originally posted by Magusofdreams
I still cannot change the owner of the file.
You cannot change the ownership of a file on FAT32, as this filesystem does not know about ownerships and access rights. That is the reason why you have to use the umask parameter to tell Linux how to handle these files. But this is static and can only be changed for all files on that drive.
 
Old 03-11-2005, 11:30 AM   #7
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
So to setup the user and the file permissions for a vfat mount point you need to make sure that the user and file permissions are designated in the ftstab via umask and uid.

Thank you for all the help I think I have figured it out.
 
  


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
VFAT mount permissions duckboy Linux - General 6 07-26-2005 03:56 AM
vfat permissions problem JBB Linux - Newbie 5 03-03-2005 12:38 PM
mounted vfat permissions n3tw0rk Linux - General 3 12-05-2003 04:41 PM
file permissions on VFAT partition - access denied cevjr Linux - Security 3 09-04-2003 04:50 PM
vfat write permissions andrea.corelli Linux - General 4 04-23-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 PM.

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
Open Source Consulting | Domain Registration