Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot edit files on usb flash drive.
Date: Mon, 08 Mar 2010 08:18:33
Message-Id: 4B94B2AA.3010209@gmail.com
In Reply to: Re: [gentoo-user] Cannot edit files on usb flash drive. by ubiquitous1980
1 ubiquitous1980 wrote:
2 > Alan McKinnon wrote:
3 >
4 >> On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote:
5 >>
6 >>
7 >>> I have a usb flash drive which will not allow me to edit its files. I
8 >>> have tried chmod a+rwx -R $files but this does still not permit
9 >>> editing. Further, the files within the directories refuse to have
10 >>> ownership changed via chown $myusername -R /mnt/disk. Output is:
11 >>> operation not permitted. Any ideas? Thanks.
12 >>>
13 >>>
14 >> This happens when the flash drive is type vfat. This excuse for a file system
15 >> does not have a concept of owners and permissions so the kernel has to fudge
16 >> it. You are finding that you cannot change these for the simple reason that
17 >> they do not exist and the kernel is pretending they are owned by root with
18 >> MODE 755 or some such.
19 >>
20 >> If hal is mounting the device, check your hal config, looking for some likely
21 >> named option.
22 >>
23 >>
24 > What config file would this be? Can I find it in the handbook?
25 >
26 >> If the device is mounted via /etc/fstab, adjust the uid/gid/umask/dmask/fmask
27 >> options to mount in column 4. Full details in the man page, under section
28 >> "fat"
29 >>
30 >>
31 >>
32 >>
33 > I need to interact with university computers from time to time, any
34 > other file system with proper permissions, to be used under both linux
35 > and windows (without additional drivers)?
36 >
37 >
38 >
39
40 I don't use these so I am by no means saying they work well.
41
42 sys-fs/ntfs3g
43
44 sys-fs/ntfsprogs
45
46 I have read that the first one works pretty well but no first hand
47 knowledge if it is true or not. You may want to read this as well.
48
49 http://www.linux-ntfs.org/doku.php
50
51 You may just want to test this with something not so important for a bit
52 and see how well this works for you.
53
54 Dale
55
56 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Cannot edit files on usb flash drive. Paul Hartman <paul.hartman+gentoo@×××××.com>