Quote:
Originally Posted by yusuo
Im trying to change the permissions on my drive so that I can write to it, its correctly mounted and I can read from it. Its a 500gb fat32 drive called "hdb1" and its alias is simply "500"
If someone could tell me how I achieve this i will be a very happy person at least for another day
|
Permissions are not applied to drives, they are attributes of files. One does not mount drives (except to a chassis) but filesystems. And I don't know what you mean by "alias". So I am going to have to make some guesses...
You have an ide drive in the primary slave slot with a single partition formatted fat32. (Can windows format such large partitions to fat32 these days?)
You would like to mount this filesystem read/write. At present it is automounting read only and appears as an icon on your desktop labeled "500".
Your main problem, therefore, is that fat32 doesn't support file permissions (so chmod and chown return an error) and the owner is set to root (who
can write to it!)
assuming the mountpoint is /media/500 (but it may be /mnt/hdb1 or /media/hdb1)
# mount -t vfat /dev/hdb1 /media/500 -o rw,user,umask=0000
You need to edit /etc/fstab entry to add the umask if you want it to automount this way.