Bug 527025

Summary: [polkit] only root can read from a diskette
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: davidz, harald
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-03 11:59:49 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Joachim Frieben 2009-10-03 07:42:35 EDT
Description of problem:

  $ mdir
  Can't open /dev/fd0: Permission denied
  Cannot initialize 'A:'

Version-Release number of selected component (if applicable):
polkit-0.95-0.git20090913.2.fc12.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Insert diskette into floppy drive.
2. Run 'mdir' from a console.
  
Actual results:
Read permission is denied.

Expected results:
Read permission is granted.

Additional info:
Running 'mdir' as root allows to read from the diskette as expected.
Comment 1 David Zeuthen 2009-10-03 11:59:49 EDT
Not a polkit bug - FYI udev handles ACLs and I'm pretty sure we don't want ACLs on /dev/fd0 for the same reasons we don't want ACLs on e.g. USB sticks (mounting/unmount/formatting etc is handled by the file manager / palimpsest). Closing as WONTFIX.