writeable automounted partition with device file mode 0000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdebase
I configured udev in such a way, that one particular external USB drive I own attaches to the system without read/write permissions.
$ ls -ltr /dev/sdj* /dev/mydisk-*
brw-rw---- 1 jhendrix vboxusers 8, 144 2011-03-25 20:44 /dev/sdj
lrwxrwxrwx 1 root root 3 2011-03-25 20:44 /dev/mydisk-
b--------- 1 root root 8, 146 2011-03-25 20:44 /dev/sdj2
b--------- 1 root root 8, 145 2011-03-25 20:44 /dev/sdj1
The interesting thing is that Kubuntu 10.10 automatically opens both partitions sdj1 and sdj2 in Dolphin as writeable filesystems eventhough the device files have mode 0.
This is not what I expect / want, because the whole drive is owned by an unprivileged user. In turn this behaviour causes a problem as I attach "/dev/mydisk-
To the best of my knowledge, udev does not support "not-creating sd* devicefiles for the disk and its partitions" or renaming them. I tried changing "NAME" in the udev rules, but udev doesn't like that: "udevd-work[20051]: kernel-provided name 'sdj' and NAME= 'mydisk-prestigio' disagree, please use SYMLINK+= or change the kernel to provide the proper name"
Please refer to my website for further details on what I did: http://
Kubuntu 10.10 x86_64
Description: Ubuntu 10.10
Release: 10.10
Platform Version 4.5.1 (KDE 4.5.1)
udev Installed: 162-2.2
With little further testing, I produced this with NTFS filesystems on the disk and today reproduced it with EXT4. 6a8ce615- cb88-46be- a068-0f58aacb7d 60 type ext4 (rw,nosuid, nodev,uhelper= udisks)
/dev/sdj1 on /media/