Permission problem on vfat files

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Jeremy C. Reed
Date:  
Sujet: Permission problem on vfat files
On Tue, 30 Dec 2003, Alan Dayley wrote:

> - I put line "/dev/hda1 /mnt/win98 vfat auto,umask=0 0 0" in the
> /etc/fstab file.
> - I issued "mount -a"
> - Now, I cannot write the vfat partition, even as root.
>
> For example, the command "chown -R 766 /mnt/win98" as root yeilds errors:
>
> chmod: changing permissions of `/mnt/win98/config.sys' (requested: 0766,
> actual: 0755): Operation not permitted


vfat does not support per-file user or group ownership. Try using uid= and
gid= in the mount options (set to uid and gid you want for all).

But you say "cannot write". What are your other problems with writing to
the partition?

Jeremy C. Reed
http://bsd.reedmedia.net/