LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-13-2006, 09:43 AM   #1
trevor4706
Member
 
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, 10:22 AM   #2
blackhole54
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, 06:37 PM   #3
trevor4706
Member
 
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.
 
  


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


All times are GMT -5. The time now is 04:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration