Description of problem: Creating directories and files fails on the NFS mount, if selinux is enabled on NFS-ganesha server. However, it succeeds when selinux is permissive. Version-Release number of selected component (if applicable): ceph version 10.2.10-11.el7cp How reproducible: 3/3 Steps to Reproduce: 1. Install nfs-ganesha-rgw and edit the ganesha.conf file as per doc https://access.qa.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html-single/object_gateway_guide_for_red_hat_enterprise_linux/#exporting_the_namespace_to_nfs_ganesha 2. Enable selinux. (setenforce 1) 3. Start the Ganesha service "systemctl start nfs-ganesha", it starts successfully. 4. Mount using NFsv4, try creating directories and files. (it fails with cannot create directory ‘dir1’:Read-only file system) [root@magna085 ubuntu]# mount -o vers=4.1 magna085:/ mnt1 [root@magna085 ubuntu]# cd mnt1 [root@magna085 mnt1]# ls [root@magna085 mnt1]# mkdir dir1 mkdir: cannot create directory ‘dir1’: Read-only file system [root@magna085 mnt1]# Actual results: Not able to write on the NFS mount Expected results: Should be able to write on the NFS mount Additional info: Seen both with NFSv4 and NFSv3