Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB permission/owner - change not allowed as root
Date: Mon, 30 Dec 2013 08:38:33
Message-Id: 52C130EB.2060101@gmail.com
In Reply to: Re: [gentoo-user] USB permission/owner - change not allowed as root by Edward M
1 On 30/12/2013 09:51, Edward M wrote:
2 > On Sun, 29 Dec 2013 19:42:33 -0700
3 > Joseph <syscon780@×××××.com> wrote:
4 >
5 >> After recent upgrade when I mount my USB and try as root:
6 >>
7 >> chown joseph:users /media/stick/Ancient-Electricity_new.ppt
8 >> chown: changing ownership of
9 >> ‘/media/stick/Ancient-Electricity_new.ppt’: Operation not permitted
10 >>
11 >> file ownership is:
12 >> -rwxr-xr-x 1 root root 5796864 Mar 6 2013
13 >> Ancient-Electricity_new.ppt
14 >>
15 >
16 >
17 > I too ran the chown command on my USB flash and got the same
18 > response as you did:
19 >
20 > localhost001 media # chown cru:users flash-drive1/
21 > chown: changing ownership of ‘flash-drive1/’: Operation not
22 > permitted
23 >
24 > drwxr-xr-x 7 root root 16384 Dec 31 1969 flash-drive1
25 >
26 > Don't know what to tell you. interesting....my says Dec 31 1969.
27
28
29
30 Read the man page for mount, section vfat.
31
32
33 You can't change the owner as FAT doesn't have a concept of owner, so
34 it's simulated at mount time. You can't change it at runtime.
35
36 To change it you have to umount the device and remount it using the
37 appropriate option, all in the man page
38
39
40 --
41 Alan McKinnon
42 alan.mckinnon@×××××.com

Replies