Re: SELinux prevents Samba from sharing NTFS mounts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petteri Kautonen wrote:
Hi,
I have F8 and every time to I try to access remotely or locally NTFS filesystems that shared via Samba I get a warning (at the end of this mesage) from SELinux troubleshooter and can't access the share. I have tried to mount the filesystem with different context's but none of them seem to do anything. The shares worked with previous version of Fedora (F7). I have tried to mount the NTFS volume doing the following to change it context: * mount -t ntfs-3g /dev/sda1 /mnt/petteri-c -o context=system_u:system_r:smbd_t * mount -t ntfs-3g /dev/sda1 /mnt/petteri-c -o context=system_u:object_r:smbd_t * mount -t ntfs-3g /dev/sda1 /mnt/petteri-c -o fscontext=system_u:object_r:samba_share_t and various other mount options such as defcontext= and changed the context=, fscontext=, and defcontext= parameter values.
But the context stays the same (ls --lcontext):
drwxrwxrwx 1 _system_u:object_r:fusefs_t_ root root 12288 2007-12-12 21:13 petteri-c

I think this might be similar to my httpd/nfs question a couple days ago.

Do you have other mounts of /dev/sda1 besides the /mnt/petteri-c?

johnn

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux