Red Hat Bugzilla – Bug 134846
Zip drive mount requires root permission
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
When requesting a mount of zip drive get msg. "requires root
permission". Switching to terminal mode and SU then issuing mount
command works. (As does umount in this mode.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Insert zip disc in drive
2.Attempt to mount
i think it's pam problem here. reassign to correct component
What's the mount point of your zip drive?
Please show me the relevant line from your /etc/fstab file.
This is a problem with udev - the zip mount device isn't there for
pam_console to change ownership if the zip diskette isn't inserted
into the drive during reboot.
well not much I can do about that... there is no /dev/zip in
otherwise one could create a symlink to /dev/zip with a udev rule and
pam_console would do the rest
btw, victor, could you please post the output of:
# udevinfo -a -p `udevinfo -q path -n /dev/hdb`
udevinfo -a -p 'udevinfo' -q 'path' -n '/dev/hdb'
device not found in database
(if this is correct command line??)
# udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hda')
oops... hdb of course... you missed some "`" in comment #7
# udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hdb')
$ udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hdb')
couldn't get the class device
try to mount a zip disk as root, then retry, please
/dev/zip needs to be in /etc/security/console.perms
$ rpm -qf /etc/security/console.perms
Done in pam-0.77-62. However I'm not convinced it will help.