Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 134846 - Zip drive mount requires root permission
Zip drive mount requires root permission
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Depends On:
  Show dependency treegraph
Reported: 2004-10-06 14:18 EDT by victor lorenz
Modified: 2007-11-30 17:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-19 08:35:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description victor lorenz 2004-10-06 14:18:42 EDT
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):
kdebase 3.3.0-7

How reproducible:

Steps to Reproduce:
1.Insert zip disc in drive
2.Attempt to mount

Additional info:
Comment 1 Ngo Than 2004-10-07 09:35:13 EDT
i think it's pam problem here. reassign to correct component
Comment 2 Tomas Mraz 2004-10-07 10:20:05 EDT
What's the mount point of your zip drive?
Comment 3 Tomas Mraz 2004-10-07 10:20:47 EDT
Please show me the relevant line from your /etc/fstab file.
Comment 4 Tomas Mraz 2004-10-11 08:23:24 EDT
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.

Comment 6 Harald Hoyer 2004-10-11 09:18:35 EDT
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`
Comment 7 victor lorenz 2004-10-11 09:46:25 EDT
udevinfo -a -p 'udevinfo' -q 'path' -n '/dev/hdb'
device not found in database

(if this is correct command line??)
Comment 8 Harald Hoyer 2004-10-11 10:16:34 EDT
# udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hda')                 
Comment 9 Harald Hoyer 2004-10-11 10:17:31 EDT
oops... hdb of course... you missed some "`" in comment #7
# udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hdb')
Comment 10 victor lorenz 2004-10-11 19:27:00 EDT
$ udevinfo -a -p $(udevinfo -q 'path' -n '/dev/hdb')
couldn't get the class device
Comment 11 Harald Hoyer 2004-10-12 04:07:18 EDT
try to mount a zip disk as root, then retry, please
Comment 12 Harald Hoyer 2004-10-14 11:52:17 EDT
/dev/zip needs to be in /etc/security/console.perms
$ rpm -qf /etc/security/console.perms
Comment 13 Tomas Mraz 2004-10-19 08:35:37 EDT
Done in pam-0.77-62. However I'm not convinced it will help.

Note You need to log in before you can comment on or make changes to this bug.