chown problem: chnging dir ownership
I have dual boot setup and want allow linux side user access to a fat32 directory
at root i did:
any answers why that doesn't work??????
root# chown -R user mnt/win_c/My\ Documents/
[root]# chown -R user mnt/win_c/My\ Documents/
chown: changing ownership of `mnt/win_c/My Documents/': Operation not permitted
Re: chown problem: chnging dir ownership
to set the user and group and permissions if FAT32, it's best to add a relevent line to the fstab.
Originally Posted by Dalani
allows me to read and write to the fat32 device when it's mounted.
/dev/hda2 /mnt/win/d vfat umask=0222,dmask=0000,uid=0002,gid=users,users 0 0
An explanation as to what the options mean:
umask=0222 - set the file permissions to 555 (-r-xr-xr-x)
dmask=0000 - set the folder permissions to 777 (-rwxrwxrwx)
uid=0002 - set the userid to 0002 (u might wanna change this to another user, but this is what i got mine set to)
gid=users - sets the group owner to "users"
users - allows members of the users group to mount the partition.