Gentoo Archives: gentoo-user

From: ubiquitous1980 <nixuser1980@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot edit files on usb flash drive.
Date: Mon, 08 Mar 2010 07:34:07
Message-Id: 4B94A833.7090106@gmail.com
In Reply to: Re: [gentoo-user] Cannot edit files on usb flash drive. by Alan McKinnon
1 Alan McKinnon wrote:
2 > On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote:
3 >
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 >
11 > This happens when the flash drive is type vfat. This excuse for a file system
12 > does not have a concept of owners and permissions so the kernel has to fudge
13 > it. You are finding that you cannot change these for the simple reason that
14 > they do not exist and the kernel is pretending they are owned by root with
15 > MODE 755 or some such.
16 >
17 > If hal is mounting the device, check your hal config, looking for some likely
18 > named option.
19 >
20 What config file would this be? Can I find it in the handbook?
21 > If the device is mounted via /etc/fstab, adjust the uid/gid/umask/dmask/fmask
22 > options to mount in column 4. Full details in the man page, under section
23 > "fat"
24 >
25 >
26 >
27 I need to interact with university computers from time to time, any
28 other file system with proper permissions, to be used under both linux
29 and windows (without additional drivers)?

Replies

Subject Author
Re: [gentoo-user] Cannot edit files on usb flash drive. Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Cannot edit files on usb flash drive. Alan McKinnon <alan.mckinnon@×××××.com>