LinuxQuestions.org
Register a domain and help support LQ
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 07-08-2006, 08:14 AM   #1
kizersouzay
Member
 
Registered: Jul 2005
Distribution: CentOS 5.4
Posts: 58

Rep: Reputation: 15
Question Problem with file permissions on mounted fat drives


i have some fat partitions that are automatically mounted when system boots.No body has write permissions for these drives except root. How can i change that.I tried changing options in /etc/fstab but thats not working.I did add the "user" option too.
Any help.well i am really a newbie but i cant figure out what to do
I have slackware 10.1
 
Old 07-08-2006, 11:34 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
FAT systems cannot natively handle file permissions. It just isn't designed to record such information. You have to mount it with a mask that simulates permissions. So in fstab use the "umask=nnn", with the number being the inverse of the permissions you want to have. IOW, if you want permissions of 755, then use "umask=022".

There's also fmask and dmask if you want the numbers to apply to files or directories only, respectively, and you can also use "uid=name" and "gid=group" to set the owner and group name for the drive.

Check out the man page for mount ("man mount") for a more complete listing of options.
 
  


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
File Permissions Problem with a Fat Partition soimless Linux - Newbie 9 12-08-2005 11:48 PM
cant modify a file on mounted FAT partition dwarf007 Linux - Newbie 7 09-24-2004 09:02 AM
fat drive permissions problem llimllib Linux - General 2 07-18-2003 08:51 PM
fat mounted drives not accessable as user Cubix Slackware 1 07-11-2003 08:55 PM
changing permissions on mounted drives. Moses420ca Linux - Newbie 2 07-04-2003 09:17 AM


All times are GMT -5. The time now is 11:02 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