Bug 234005 - Can't mount external USB drive with NTFS permission due to SELinux policy
Can't mount external USB drive with NTFS permission due to SELinux policy
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2007-03-26 12:22 EDT by Robin Bowes
Modified: 2008-01-30 14:16 EST (History)
0 users

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-30 14:16:00 EST
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 Robin Bowes 2007-03-26 12:22:13 EDT
Description of problem:

I am unable to mount an external USB drive with an NTFS partition because of an
SELinux policy restriction. The error msg is:

SELinux is preventing /usr/bin/fusermount (mount_t) "mount" to / (unlabeled_t)

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

How reproducible:
Fails every time

Steps to Reproduce:
1.Plugin USB drive to USB port
2.Fedora attempts to mount to /media/Tosh01
Actual results:
It fails with the above error

Expected results:
USB to be mounted as /media/Tosh01

Additional info:
This works fine with SELinux turned off (setenforce 0)
Comment 1 Daniel Walsh 2007-04-03 09:03:21 EDT
Fixed in selinux-policy-2.4.6-49
Comment 2 Robin Bowes 2007-05-04 05:06:35 EDT
This is now working, but I still see this AVC denial:

SElinux is preventing /sbin/mount.ntfs-3g (mount_ntfs_t) "use" to /dev/null
Comment 3 Daniel Walsh 2007-05-04 10:38:51 EDT
Fixed in selinux-policy-2.4.6-69
Comment 4 Daniel Walsh 2007-08-22 10:12:50 EDT
Fixed in current release
Comment 5 Robin Bowes 2007-08-22 20:30:50 EDT
This is still a problem on FC6:

SELinux is preventing /sbin/mount.ntfs-3g (mount_ntfs_t) "search" to media (mnt_t)


SELinux is preventing /sbin/mount.ntfs-3g (mount_ntfs_t) "write" to pipe:[60020]

Comment 6 Daniel Walsh 2007-09-13 13:26:23 EDT
Fixed in 	selinux-policy-2.4.6-88.fc6

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