1 |
2013/12/30 Joseph <syscon780@×××××.com>: |
2 |
> On 12/30/13 10:38, Alan McKinnon wrote: |
3 |
> |
4 |
> [snip] |
5 |
> |
6 |
>>> I too ran the chown command on my USB flash and got the same |
7 |
>>> response as you did: |
8 |
>>> |
9 |
>>> localhost001 media # chown cru:users flash-drive1/ |
10 |
>>> chown: changing ownership of ‘flash-drive1/’: Operation not |
11 |
>>> permitted |
12 |
>>> |
13 |
>>> drwxr-xr-x 7 root root 16384 Dec 31 1969 flash-drive1 |
14 |
>>> |
15 |
>>> Don't know what to tell you. interesting....my says Dec 31 1969. |
16 |
>> |
17 |
>> |
18 |
>> |
19 |
>> |
20 |
>> Read the man page for mount, section vfat. |
21 |
>> |
22 |
>> |
23 |
>> You can't change the owner as FAT doesn't have a concept of owner, so |
24 |
>> it's simulated at mount time. You can't change it at runtime. |
25 |
>> |
26 |
>> To change it you have to umount the device and remount it using the |
27 |
>> appropriate option, all in the man page |
28 |
> |
29 |
> |
30 |
> I don't think it has anything to do with FAT. |
31 |
> Everything was working just find on my system before upgrade. |
32 |
> |
33 |
> With the line in fstab: |
34 |
> |
35 |
> /dev/sdb1 /media/stick auto noauto,rw,users |
36 |
> 0 0 |
37 |
> |
38 |
> Some USB stick are mounted as root:root and I can not change that even as |
39 |
> root. |
40 |
> When I remove this like from fstab. |
41 |
> The USB stick are mounting correctly as joseph:users owner except they have |
42 |
> different mounting location which I don't like. |
43 |
> |
44 |
> -- |
45 |
> Joseph |
46 |
> |
47 |
|
48 |
You can specify the user/group that mounts a device with some mount |
49 |
options. I think they are uid=<username>/gid=<groupname> but I'm not |
50 |
sure and unfortunatly not on my Linux box at the moment. |
51 |
|
52 |
-- |
53 |
Mit freundlichen Grüßen / Best regards |
54 |
|
55 |
Randolph Maaßen |