Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-13-2006, 05:33 PM
|
#1
|
LQ Newbie
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16
Rep:
|
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.
|
|
|
06-13-2006, 06:10 PM
|
#2
|
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:
|
Try this for your options
umask=000,users,auto,owner,rw 0 0
Brian1
|
|
|
06-13-2006, 07:42 PM
|
#3
|
Member
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238
Rep:
|
I have mine as: user,umask=1000,rw,auto 0 0
|
|
|
06-14-2006, 12:19 PM
|
#4
|
LQ Newbie
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16
Original Poster
Rep:
|
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?
|
|
|
06-19-2006, 04:52 PM
|
#5
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Rep:
|
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.
|
|
|
06-21-2006, 04:15 PM
|
#6
|
Senior Member
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070
Rep:
|
My fstab has this:
vfat rw,users,umask=0 0 0
|
|
|
06-21-2006, 04:59 PM
|
#7
|
LQ Newbie
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|