Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DVD and changing permissions
Date: Sat, 12 Jul 2008 22:10:25
Message-Id: 48792BC7.2080505@bellsouth.net
In Reply to: Re: [gentoo-user] DVD and changing permissions by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Sat, 12 Jul 2008 13:39:03 -0500, Dale wrote:
3 >
4 >
5 >> It changes the permissions whenever I insert the DVD. I'm not sure if
6 >> it is something that is on the DVD or if it is a mounting issue. Here
7 >> is my fstab line for the *DVD*:
8 >>
9 >> /dev/hdd /media/hdd auto noauto,users 0 0
10 >>
11 >
12 > Unless you have a very good reason to leave this in place, remove it. HAL
13 > based automounters do not need fstab, but it will override their defaults
14 > if present. A desktop automounter will usually mount the device as the
15 > user running it, that's certainly the case with KDE and should be with
16 > ivman.
17 >
18 > The changing permissions on the mount point is because they are now the
19 > permissions of something else. When nothing is mounted there, the
20 > permissions are those of the mount point on the parent filesystem, when
21 > you mount something, they are the permissions of the root of the mounted
22 > device.
23 >
24 > Do other devices, such as USB sticks, mount correctly?
25 >
26 >
27 >
28
29 Hi,
30
31 I commented out the lines in fstab for both DVD and CD drives. The only
32 change is that I get this:
33
34 root@smoker / # ls -al /media/
35 total 5
36 drwxr-xr-x 5 root root 224 2008-07-12 04:03 .
37 drwxr-xr-x 24 root root 560 2008-07-10 12:40 ..
38 drwxrwxr-x 2 root users 48 2006-10-25 06:23 floppy
39 -rw-r--r-- 1 root root 0 2008-07-12 03:43 .hal-mtab
40 -rw------- 1 root root 0 2008-07-12 03:54 .hal-mtab-lock
41 dr-xr-xr-x 1 root root 2048 2003-11-13 17:10 hdc
42 d--------- 2 ivman plugdev 112 2008-07-12 03:08 hdd
43 -rw-r--r-- 1 root root 0 2008-07-12 01:48 .keep_sys-apps_hal-0
44 root@smoker / #
45
46 So I disabled ivman and tried again, no change. I still can not access
47 the DVD as a user. The CD seems to work the same way as it always has.
48 The permissions have changed to root/root tho.
49
50 Any other ideas?
51
52 Dale
53
54
55 --
56 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] DVD and changing permissions Dale <dalek1967@×××××××××.net>
Re: [gentoo-user] DVD and changing permissions Neil Bothwick <neil@××××××××××.uk>