selinux and mounting a vfat partition
J. Scott Amort
jsamort at shaw.ca
Sat Apr 3 02:10:35 UTC 2004
Hi All,
I can't seem to mount a vfat partition with selinux=enforcing, I get the
error:
mount: block device /dev/hda9 is write-protected, mounting read-only
mount: cannot mount block device /dev/hda9 read-only
I read through some of the archives, and my understanding is that there
is no way for selinux to label the vfat files, so I need to use a
context mount. But, if I try:
mount -t vfat /dev/hda9 /home/music -o \
context=user_u:sysadm_r:sysadm_t
it still doesn't work. I've also tried:
context=root:sysadm_r:sysadm_t
but still no luck. Any ideas or suggestions? Thanks.
Best,
Scott
More information about the fedora-test-list
mailing list