1 |
On Monday 08 March 2010 09:33:07 ubiquitous1980 wrote: |
2 |
> Alan McKinnon wrote: |
3 |
> > On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote: |
4 |
> >> I have a usb flash drive which will not allow me to edit its files. I |
5 |
> >> have tried chmod a+rwx -R $files but this does still not permit |
6 |
> >> editing. Further, the files within the directories refuse to have |
7 |
> >> ownership changed via chown $myusername -R /mnt/disk. Output is: |
8 |
> >> operation not permitted. Any ideas? Thanks. |
9 |
> > |
10 |
> > This happens when the flash drive is type vfat. This excuse for a file |
11 |
> > system does not have a concept of owners and permissions so the kernel |
12 |
> > has to fudge it. You are finding that you cannot change these for the |
13 |
> > simple reason that they do not exist and the kernel is pretending they |
14 |
> > are owned by root with MODE 755 or some such. |
15 |
> > |
16 |
> > If hal is mounting the device, check your hal config, looking for some |
17 |
> > likely named option. |
18 |
> |
19 |
> What config file would this be? Can I find it in the handbook? |
20 |
|
21 |
Hmmm, hal config files. Those things are deliberately obfuscated, I have no |
22 |
idea. You will have to search through /etc/ |
23 |
|
24 |
> > If the device is mounted via /etc/fstab, adjust the |
25 |
> > uid/gid/umask/dmask/fmask options to mount in column 4. Full details in |
26 |
> > the man page, under section "fat" |
27 |
> |
28 |
> I need to interact with university computers from time to time, any |
29 |
> other file system with proper permissions, to be used under both linux |
30 |
> and windows (without additional drivers)? |
31 |
|
32 |
All windows file systems have this problem when accessed from Unix. |
33 |
|
34 |
The permission models do not map to each other, so there is no translation you |
35 |
can do. The only effective route is to ignore the filesystem's |
36 |
owner/permission model and use some global value in it's place. |
37 |
|
38 |
|
39 |
-- |
40 |
alan dot mckinnon at gmail dot com |