Bug 137486

Summary: removable drives with vfat filesystem have wrong policy
Product: [Fedora] Fedora Reporter: Evan Jeffrey <hobbes>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-28 20:10:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Evan Jeffrey 2004-10-28 20:03:22 UTC
Description of problem:

When plugging a USB mass storage device (in this case an iRiver
portable hard drive MP3 player), it is correctly auto-mounted, but the
 SElinux MAC prevents write access to the drive.  Files could be read
and deleted, but not created or modified.  This is on a fresh install
of FC3test3.

Version-Release number of selected component (if applicable):

1.17.24-2

How reproducible:

Every time.

Steps to Reproduce:
1.  Log into gnome desktop
2.  plug USB hard drive with vfat partition into usb port
3.  attempt to create files on the drive.
  
Actual results:

permission denied for all users (including root and the owner of the
drive)

Expected results:

Drive should be writable by user logged into console when drive is
inserted.

Additional info:

When unmounted from the desktop and mounted by hand by the root user,
write access is possible.  Booting with selinux=0 also "fixes" the
problem.

Comment 1 Colin Walters 2004-10-28 20:10:42 UTC
This is already fixed post-fc3t3, like in fc3rc2.