2013/12/30 Joseph <syscon...@gmail.com>: > On 12/30/13 10:38, Alan McKinnon wrote: > > [snip] > >>> I too ran the chown command on my USB flash and got the same >>> response as you did: >>> >>> localhost001 media # chown cru:users flash-drive1/ >>> chown: changing ownership of ‘flash-drive1/’: Operation not >>> permitted >>> >>> drwxr-xr-x 7 root root 16384 Dec 31 1969 flash-drive1 >>> >>> Don't know what to tell you. interesting....my says Dec 31 1969. >> >> >> >> >> Read the man page for mount, section vfat. >> >> >> You can't change the owner as FAT doesn't have a concept of owner, so >> it's simulated at mount time. You can't change it at runtime. >> >> To change it you have to umount the device and remount it using the >> appropriate option, all in the man page > > > I don't think it has anything to do with FAT. > Everything was working just find on my system before upgrade. > > With the line in fstab: > > /dev/sdb1 /media/stick auto noauto,rw,users > 0 0 > > Some USB stick are mounted as root:root and I can not change that even as > root. > When I remove this like from fstab. > The USB stick are mounting correctly as joseph:users owner except they have > different mounting location which I don't like. > > -- > Joseph >
You can specify the user/group that mounts a device with some mount options. I think they are uid=<username>/gid=<groupname> but I'm not sure and unfortunatly not on my Linux box at the moment. -- Mit freundlichen Grüßen / Best regards Randolph Maaßen