[ubuntu] Error changing owner

Albin Blaschka albin.blaschka at sbg.ac.at
Wed May 4 13:30:01 UTC 2005


lluishc schrieb:
> 2005/5/4, Albin Blaschka <albin.blaschka at sbg.ac.at>:

>>Hello,
>>FAT32 does not know anything of users/owners...so it is not possible to
>>change the owner on FAT32 partitions...
>>And the syntax would be: chown -R user:group /directory

> Yes, that's true, but when i see file properties in ubuntu it says
> root for all files, and i only can open them as "read only". How do i
> open them to modify?

Hello,
Aaah, I get the point ;-):
You have to pass another parameter with the mount command:

mount /dev/fat32 /mnt -o umask=0000

"/dev/fat32" is a placeholder for your FAT32 partition and "/mnt" for 
your mountpoint!
Hope I got it right, I have no possibility to check at the moment...
Best would be to change it permanently in the /etc/fstab file, so the 
line should look something like this:

/dev/fat32       /mnt  auto    rw,user,noauto,umask=0000  0       0

HTH!
Albin

-- 
---------------------------------------------------------------------
| Albin Blaschka, Mag. rer.nat
| Fachbereich für Organismische Biologie, Universität Salzburg
| Hellbrunnerstr. 34, A - 5020 Salzburg, Österreich
|
| It's hard to live in the mountains, hard, but not hopeless!
---------------------------------------------------------------------




More information about the ubuntu-users mailing list