1 |
Dale wrote: |
2 |
> Neil Bothwick wrote: |
3 |
>> On Sat, 12 Jul 2008 13:39:03 -0500, Dale wrote: |
4 |
>> |
5 |
>> |
6 |
>>> It changes the permissions whenever I insert the DVD. I'm not sure if |
7 |
>>> it is something that is on the DVD or if it is a mounting issue. Here |
8 |
>>> is my fstab line for the *DVD*: |
9 |
>>> |
10 |
>>> /dev/hdd /media/hdd auto noauto,users 0 0 |
11 |
>>> |
12 |
>> |
13 |
>> Unless you have a very good reason to leave this in place, remove it. |
14 |
>> HAL |
15 |
>> based automounters do not need fstab, but it will override their |
16 |
>> defaults |
17 |
>> if present. A desktop automounter will usually mount the device as the |
18 |
>> user running it, that's certainly the case with KDE and should be with |
19 |
>> ivman. |
20 |
>> |
21 |
>> The changing permissions on the mount point is because they are now the |
22 |
>> permissions of something else. When nothing is mounted there, the |
23 |
>> permissions are those of the mount point on the parent filesystem, when |
24 |
>> you mount something, they are the permissions of the root of the mounted |
25 |
>> device. |
26 |
>> |
27 |
>> Do other devices, such as USB sticks, mount correctly? |
28 |
>> |
29 |
>> |
30 |
>> |
31 |
> |
32 |
> Hi, |
33 |
> |
34 |
> I commented out the lines in fstab for both DVD and CD drives. The |
35 |
> only change is that I get this: |
36 |
> |
37 |
> root@smoker / # ls -al /media/ |
38 |
> total 5 |
39 |
> drwxr-xr-x 5 root root 224 2008-07-12 04:03 . |
40 |
> drwxr-xr-x 24 root root 560 2008-07-10 12:40 .. |
41 |
> drwxrwxr-x 2 root users 48 2006-10-25 06:23 floppy |
42 |
> -rw-r--r-- 1 root root 0 2008-07-12 03:43 .hal-mtab |
43 |
> -rw------- 1 root root 0 2008-07-12 03:54 .hal-mtab-lock |
44 |
> dr-xr-xr-x 1 root root 2048 2003-11-13 17:10 hdc |
45 |
> d--------- 2 ivman plugdev 112 2008-07-12 03:08 hdd |
46 |
> -rw-r--r-- 1 root root 0 2008-07-12 01:48 .keep_sys-apps_hal-0 |
47 |
> root@smoker / # |
48 |
> So I disabled ivman and tried again, no change. I still can not |
49 |
> access the DVD as a user. The CD seems to work the same way as it |
50 |
> always has. The permissions have changed to root/root tho. |
51 |
> Any other ideas? |
52 |
> |
53 |
> Dale |
54 |
> |
55 |
> |
56 |
|
57 |
Hi, |
58 |
|
59 |
I re-emerged udev and noticed this little foot note: |
60 |
|
61 |
mount options for directory /dev are no longer |
62 |
set in /etc/udev/udev.conf, but in /etc/fstab |
63 |
as for other directories. |
64 |
|
65 |
I don't have anything in fstab for /udev. This is what mount reports: |
66 |
|
67 |
root@smoker / # mount |
68 |
/dev/hda6 on / type reiserfs (rw) |
69 |
proc on /proc type proc (rw) |
70 |
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) |
71 |
udev on /dev type tmpfs (rw,nosuid) |
72 |
devpts on /dev/pts type devpts (rw,nosuid,noexec) |
73 |
/dev/hda1 on /boot type ext2 (rw) |
74 |
/dev/hda7 on /usr/portage type reiserfs (rw) |
75 |
/dev/hda8 on /home type reiserfs (rw) |
76 |
/dev/hda9 on /data type reiserfs (rw) |
77 |
/dev/hdb1 on /backup type ext3 (rw) |
78 |
none on /dev/shm type tmpfs (rw) |
79 |
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) |
80 |
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc |
81 |
(rw,noexec,nosuid,nodev) |
82 |
/dev/hdd on /media/hdd type udf |
83 |
(rw,noexec,nosuid,nodev,uid=104,gid=451,umask=007) |
84 |
/dev/hdc on /media/hdc type iso9660 (ro,noexec,nosuid,nodev) |
85 |
root@smoker / # |
86 |
|
87 |
udev is there but is this "normal"? How does a person restart udev |
88 |
anyway? Do I have to reboot? I also deleted all the files in /etc/udev |
89 |
before re-emerging udev, just in case. I'm about out of ideas here. |
90 |
|
91 |
Dale |
92 |
|
93 |
:-) :-) |
94 |
-- |
95 |
gentoo-user@l.g.o mailing list |