[Sderby] Mounting a vfat partition?

James Carter sderby at mailman.lug.org.uk
Sat Apr 12 18:10:01 2003


James Carter wrote:
> 
> 
> Peter Hughes wrote:
> 
>> At 16:24 12/04/2003,James Carter wrote:
>>
>>> Hi
>>>
>>> Quick question; Can linux mount a vfat partition in read/write mode?
>>>
>>> Cheers James
>>>
> 
>>
>> Yes you can. I'm not sure of the options you need to specify. I will 
>> find out and reply later. I have a dual boot windows 98/ Mandrake 9.0 
>> system and use a vfat partition to share files between the two 
>> operating systems
>> If you have an NTFS partition I think that can only be mounted as read 
>> only
>>
>> Peter
> 
> 
> I have been having problems writing to the partition. I initially 
> thought it was because it was mounted read only, but I have been able to 
> write to it as root. However when I have tried to change permissions I 
> am told that it is not permitted..... Am I doing anything obvious wrong?
> 
> [root@upstairs mnt]# ll
> total 36
> drwxr-xr-x   11 root     root        16384 Jan  1  1970 backupdisk
> drwxr-xr-x    2 root     root         4096 Sep 29  2002 cdrom
> drwxr-xr-x    2 root     root         4096 Feb 14 19:15 cdrom1
> drwxr-xr-x    2 root     root         4096 Feb 10 21:25 floppy
> drwxr-xr-x   16 root     root         8192 Jan  1  1970 windows
> [root@upstairs mnt]# chmod g+w windows
> chmod: changing permissions of `windows' (requested: 0775, actual: 
> 0755): Operation not permitted
> 
> /etc/fstab entry
> /dev/hda1        /mnt/windows        vfat    owner,users 0 0
> 
> James
> 
I had to unmount the partition first before I could change permissions.
Problem solved

James