View previous topic :: View next topic |
Author |
Message |
the_crowbar n00b
Joined: 28 Jan 2004 Posts: 21 Location: US
|
Posted: Tue Apr 25, 2006 6:14 pm Post subject: KDE Mount Removable Media As Root |
|
|
I have kde 3.5.2 installed along with hal, dbus, and pmount. Until a few weeks ago I was able to attach an external USB drive and KDE asked me what to do with it. I could mount the drive as a normal user and write files to/from it. I haven't used the drive for a few weeks and today when I try to mount the drive it mounts with permissions that allow only root to write to the disk.
Code: |
james ~ # emerge -pv dbus hal pmount udev
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/dbus-0.60-r4 +X -debug -doc -gcj +gtk -mono +python +qt (-selinux) +xml 0 kB
[ebuild R ] sys-apps/hal-0.5.5.1-r3 +acpi -debug -doc -pam_console -pcmcia (-selinux) 0 kB
[ebuild R ] sys-apps/pmount-0.9.6 +crypt 0 kB
[ebuild U ] sys-fs/udev-087 [079-r1] (-selinux) 0 kB
Total size of downloads: 0 kB
|
udev is at version 079 because I was trying to see if it was the problem. I tried first with 087.
Code: |
james ~ # mount
/dev/md/0 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/mapper/vg-usr on /usr type ext3 (rw,noatime)
/dev/mapper/vg-home on /home type ext3 (rw,noatime)
/dev/mapper/vg-opt on /opt type ext3 (rw,noatime)
/dev/mapper/vg-var on /var type ext3 (rw,noatime)
/dev/mapper/vg-tmp on /tmp type ext3 (rw,noatime)
/dev/mapper/vg-data on /data type jfs (rw,noatime)
/dev/mapper/vg-portage on /usr/portage type ext3 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
/dev/sdc1 on /media/sdc1 type ext3 (rw,noexec,nosuid,nodev)
james ~ # ls -l /media
total 8
drwxr-xr-x 2 root root 4096 Apr 19 11:43 floppy_0
drwxr-xr-x 3 root root 4096 Apr 13 10:41 sdc1
james ~ #
|
What is weird is my home computer (running amd64) has the exact same kde, udev, dbus, hal, and pmount versions and it works correctly. I know it is a configuration issue, but I have been unable to find it.
If anyone can help me I would appreciate it. |
|
Back to top |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Tue Apr 25, 2006 8:48 pm Post subject: |
|
|
Is there an entry in /etc/fstab for the drive?
FF,
Daniel _________________ Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard |
|
Back to top |
|
|
the_crowbar n00b
Joined: 28 Jan 2004 Posts: 21 Location: US
|
Posted: Tue Apr 25, 2006 9:23 pm Post subject: |
|
|
No. The only entries in fstab are for my internal HD partitions(/, /home, /usr, /var, etc), shm, and sysfs. |
|
Back to top |
|
|
massysett Apprentice
Joined: 06 Jan 2006 Posts: 296 Location: Silver Spring, Maryland USA
|
Posted: Thu Apr 27, 2006 3:54 pm Post subject: |
|
|
Do you have ivman installed? It can start doing strange things. _________________ Draft Windows-to-Linux Guide |
|
Back to top |
|
|
the_crowbar n00b
Joined: 28 Jan 2004 Posts: 21 Location: US
|
Posted: Fri Apr 28, 2006 1:23 pm Post subject: |
|
|
No. I used to use ivman, but after a recent HD crash I rebuilt Gentoo and upgraded to KDE 3.5 which does not need ivman. |
|
Back to top |
|
|
mwilliamson Tux's lil' helper
Joined: 09 Jul 2005 Posts: 83
|
Posted: Fri Apr 28, 2006 4:52 pm Post subject: |
|
|
You need to be in the plugdev group I think for KDE automounting to work. |
|
Back to top |
|
|
the_crowbar n00b
Joined: 28 Jan 2004 Posts: 21 Location: US
|
Posted: Fri Apr 28, 2006 8:31 pm Post subject: |
|
|
Thanks, but my username is in the plugdev group. I can actually mount DVD discs and my USB HD, but the mount point /media/XXX is owned by root:root and my normal account has no access to read/write to it. Ii used to be that the mount would be owned by my user. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|