Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chown - not permited
Date: Wed, 11 Jun 2014 13:04:08
Message-Id: a7a29e9c-62aa-4fbe-af3e-67b231ff89cb@email.android.com
In Reply to: Re: [gentoo-user] chown - not permited by Joseph
1 On 10 June 2014 21:33:28 CEST, Joseph <syscon780@×××××.com> wrote:
2 >On 06/10/14 22:50, the wrote:
3 >>On 06/10/14 22:37, Joseph wrote:
4 >>> I mount USB stick form camera and I can not change ownership (I'm
5 >>> login as root)
6 >>>
7 >>> drwxr-xr-x 9 root root 32768 Nov 18 2013 DCIM -rwxr-xr-x 1 root
8 >>> root 4 Nov 21 2013 _disk_id.pod drwxr-xr-x 2 root root 32768
9 >>> Aug 14 2013 LOST.DIR
10 >>>
11 >>> I can read and write another USB stick but others I can not. How
12 >>> to control it?
13 >>>
14 >>What filesystem does it contain and what mount options are you using?
15 >>Depending on the filesystem it can be possible to mount with
16 >>user/group permissions.
17 >
18 >One USB stick was ext2 the other was dos file system. I have problem
19 >with dos.
20 >I have commentd out in fstab:
21 >/dev/sdb1 /media/stick auto noauto,rw,user 0 0
22 >
23 >and let udisks mange it. It works.
24 >Except that now I have ugly long names, for ext2 I get:
25 >/run/media/joseph/2f5fc53e-4f4c-4e74-b9c4-fca316b47fea
26 >
27 >for dos I get:
28 >/run/media/joseph/3136-3934
29 >
30 >with fstab entry they all were mounted under:
31 > /media/stick
32
33 Joseph.
34
35 If you give the filesystem a Label. Then udisks will use that instead of the UUID string.
36
37 --
38 Joost
39 --
40 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] chown - not permited Joseph <syscon780@×××××.com>