PDA

View Full Version : cannot change permissions for data directory



comsinc
28th October 2006, 05:28 PM
I use a vfat partition as data directory which I have mounted as /mnt/win. I do not have write permissions as user "don". I logged in as "root", but it will not let me change permissions to the Win directory. I tried the graphical method as well as terminal method. Any suggestions?

markkuk
28th October 2006, 06:02 PM
FAT filesystems doesn't support Linux file permissions or ownership, so chmod, chgrp or chown won't work on them. You must use the mount options to change the access rights, see "man mount".

comsinc
28th October 2006, 09:17 PM
I mount the volume in fstab as follows:

/dev/hda5 /mnt/win vfat rw 1 0

When I boot into fc5 it says mounting the partition as read/write. If I type "mount" in terminal window, it shows /dev/hda5 vfat mounted as rw.

comsinc
28th October 2006, 10:26 PM
I mount the volume in fstab as follows:

/dev/hda5 /mnt/win vfat rw 1 0

When I boot into fc5 it says mounting the partition as read/write. If I type "mount" in terminal window, it shows /dev/hda5 vfat mounted as rw.

Sorry, that should be fc4 not fc5