Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] chown - not permited Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] chown - not permited Neil Bothwick <neil@××××××××××.uk>