LinuxQuestions.org
Help answer threads with 0 replies.
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, 05:33 PM   #1
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
Question Different file permissions on vfat


Hi all,
I'm trying to share a fat32 partition between winXP and Linux.
I have the following line in /etc/fstab
Code:
/dev/hda1               /mnt/Condiviso          vfat    auto,umask=0000 0 0
but when I type
Code:
[root@Alba ~]# ls -l /mnt/Condiviso/
total 921620
dr-xr-xr-x 12 root root      4096 Jun  7 01:14 Documenti
dr-xr-xr-x  4 root root      4096 Dec 18 11:21 FC4_backup
-r-xr-xr-x  1 root root 943718400 Apr 18 18:42 pagefile.sys
drwxrwxrwx  2 root root      8192 Dec 24 13:36 Recycled
drwxrwxrwx  3 root root      4096 Dec  7  2005 System Volume Information
Why all files do not have the same file permissions? Moreover, why there are some directories without writing permissions?
As far as I know vfat should not support single file permissions...
I have tried to mount partition using default options but still I don't have writing permissions for root!
Please help me!

Last edited by garrik; 06-13-2006 at 05:36 PM.
 
Old 06-13-2006, 06:10 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Try this for your options
umask=000,users,auto,owner,rw 0 0

Brian1
 
Old 06-13-2006, 07:42 PM   #3
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
I have mine as: user,umask=1000,rw,auto 0 0
 
Old 06-14-2006, 12:19 PM   #4
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Original Poster
Rep: Reputation: 0
I have tried some other commands, much more than the following examples, but none has worked.

Code:
mount -t vfat -o auto,rw,uid=0,gid=500,showexec,quiet,umask=0000 /dev/hda1 mnt/Condiviso/
mount -t vfat -o umask=000,users,auto,owner,rw /dev/hda1 /mnt/Condiviso/
mount -t vfat -o user,umask=1000,rw,auto /dev/hda1 /mnt/Condiviso/
I would like to know where I can find, or ask, detailed information on mounting vfat, as I can't solve my problem with mount man page.
Can anyone help?
 
Old 06-19-2006, 04:52 PM   #5
sannyasi
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Many of the examples didn't work for me.... This one did.

I have just upgraded from Fedora 4 to 5 and spent the last two days trying to get write permissions to my fat32 partitions, (and other issues) and have tried all the suggestions I came across in the forums... none worked untill this one. Give it a try it may work... seams these solutions change depending on distros and systems.. which it shouldn't since its all the same core but oh well..

One of the lines from my fstab
just make sure you are a member of the group "users" (think its on by default for any created users)

/dev/hda3 /mnt/z_drive vfat umask=0222,dmask=0000,users,rw,exec 0 0

Last edited by sannyasi; 06-19-2006 at 05:34 PM.
 
Old 06-21-2006, 04:15 PM   #6
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
My fstab has this:

vfat rw,users,umask=0 0 0
 
Old 06-21-2006, 04:59 PM   #7
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you all, I tried as you suggested but this doesn't work. I think I can't just keep trying but I must understand what is wrong.
 
  


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 file permissions Magusofdreams Linux - Newbie 6 03-11-2005 11:30 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 - Distributions > Fedora

All times are GMT -5. The time now is 08:16 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
Open Source Consulting | Domain Registration