Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chown - not permited
Date: Tue, 10 Jun 2014 19:33:32
Message-Id: 20140610193328.GI24946@syscon7
In Reply to: Re: [gentoo-user] chown - not permited by the
1 On 06/10/14 22:50, the wrote:
2 >On 06/10/14 22:37, Joseph wrote:
3 >> I mount USB stick form camera and I can not change ownership (I'm
4 >> login as root)
5 >>
6 >> drwxr-xr-x 9 root root 32768 Nov 18 2013 DCIM -rwxr-xr-x 1 root
7 >> root 4 Nov 21 2013 _disk_id.pod drwxr-xr-x 2 root root 32768
8 >> Aug 14 2013 LOST.DIR
9 >>
10 >> I can read and write another USB stick but others I can not. How
11 >> to control it?
12 >>
13 >What filesystem does it contain and what mount options are you using?
14 >Depending on the filesystem it can be possible to mount with
15 >user/group permissions.
16
17 One USB stick was ext2 the other was dos file system. I have problem with dos.
18 I have commentd out in fstab:
19 /dev/sdb1 /media/stick auto noauto,rw,user 0 0
20
21 and let udisks mange it. It works.
22 Except that now I have ugly long names, for ext2 I get:
23 /run/media/joseph/2f5fc53e-4f4c-4e74-b9c4-fca316b47fea
24
25 for dos I get:
26 /run/media/joseph/3136-3934
27
28 with fstab entry they all were mounted under:
29 /media/stick
30
31 --
32 Joseph

Replies

Subject Author
Re: [gentoo-user] chown - not permited Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] chown - not permited Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] chown - not permited "J. Roeleveld" <joost@××××××××.org>