Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-13-2006, 10:43 AM   #1
Registered: Oct 2005
Location: Ottawa, Canada
Distribution: Fedora FC 5& 6
Posts: 34

Rep: Reputation: 16
Changing Directory Permissions

I am relatively new to Linux. I have Fedora 5 and XP home in a dual boot configuration on my main desktop, with each O/S on its own HD. On the XP drive I have created a small FAT 32 partition as a place to share files between the two systems. I can copy files from my Linux O/S to the FAT 32 partition as root, but not as user. Umask shows that write is blocked, and chmod seems to have no effect. I've tried chown, but that is denied as well.

I know this is a very basic question, but my Fedora manual has been no help so far: How do I change the permissions for FAT 32 partition in Linux so I can have rwx permission as user?
Old 06-13-2006, 11:22 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
My experience with FAT 32 is that the owner *and* permissions are set at the time the partition is mounted, and can't be changed afterwards w/o unmounting. All directories and files within a given FAT 32 partition will have the same owner and permissions. The owner is the user who mounts it, and the permisions are determined by that user's umask at time of mount. You can overide the existing owner/group and umask by specifying uid= , gid= , and umask= options with the mount command, or in the /etc/fstab file. Check the mount man page for more info.
Old 06-13-2006, 07:37 PM   #3
Registered: Oct 2005
Location: Ottawa, Canada
Distribution: Fedora FC 5& 6
Posts: 34

Original Poster
Rep: Reputation: 16
Thumbs up Changing directory permissions

Blackhole 54

Thanks for your prompt response and sound advice. I added a line to the fstab file with the uid option and -- bingo -- the vfat partition loads automatically on boot and I have read-write authority.


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
Home directory permissions changing haphazardly... zupidupi Linux - Newbie 4 04-14-2005 02:31 PM
Changing file permissions within a directory for all files. cajunaggie Linux - Newbie 2 02-06-2005 02:53 AM
Directory permissions changing back? elderain Linux - Newbie 0 03-08-2004 07:02 PM
Changing directory permissions Bagsy Linux - Newbie 1 07-08-2003 06:50 AM
changing permissions for entire directory jmarsh Linux - Networking 2 05-13-2003 09:12 AM > Forums > Linux Forums > Linux - Distributions > Fedora

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