1 |
On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote: |
2 |
> I have a usb flash drive which will not allow me to edit its files. I |
3 |
> have tried chmod a+rwx -R $files but this does still not permit |
4 |
> editing. Further, the files within the directories refuse to have |
5 |
> ownership changed via chown $myusername -R /mnt/disk. Output is: |
6 |
> operation not permitted. Any ideas? Thanks. |
7 |
|
8 |
This happens when the flash drive is type vfat. This excuse for a file system |
9 |
does not have a concept of owners and permissions so the kernel has to fudge |
10 |
it. You are finding that you cannot change these for the simple reason that |
11 |
they do not exist and the kernel is pretending they are owned by root with |
12 |
MODE 755 or some such. |
13 |
|
14 |
If hal is mounting the device, check your hal config, looking for some likely |
15 |
named option. |
16 |
|
17 |
If the device is mounted via /etc/fstab, adjust the uid/gid/umask/dmask/fmask |
18 |
options to mount in column 4. Full details in the man page, under section |
19 |
"fat" |
20 |
|
21 |
|
22 |
-- |
23 |
alan dot mckinnon at gmail dot com |