I have mounted a davfs share from a nextcloud server into my filesystem and would like to share it RO via SMB
I have it all set up but selinux silently prevents access to the data in the share via smb.
I can enter the share /servername/NextcloudRO but cannot descend into next level
Centos 7 1810
No entries in /var/log/audit/audit.log
No entries in /var/log/samba/log.smbd
Works OK if I "setenforce 0"
Anyone got any ideas ?
Code: Select all
SMB.conf entry
[Nextcloud RO]
valid users = Doujon
comment = Read Only Nextcloud Files
path = /storage/Samba/Nextcloud
read only = yes
hide files = desktop.ini/$RECYCLE.BIN/lost+found
Code: Select all
ls -laZ /storage/Samba/
drwxr-xr-x. doujon doujon unconfined_u:object_r:samba_share_t:s0 .
drwxr-xr-x. root root unconfined_u:object_r:default_t:s0 ..
drwxr-xr-x. doujon doujon system_u:object_r:samba_share_t:s0 Documents
drwxr-xr-x. doujon doujon unconfined_u:object_r:samba_share_t:s0 Logs
drwxr-xr-x. doujon doujon system_u:object_r:samba_share_t:s0 Masters
drwxr-sr-x. doujon musicserver system_u:object_r:samba_share_t:s0 Music
drwxr-xr-x. doujon doujon unconfined_u:object_r:samba_share_t:s0 Nextcloud
drwxr-xr-x. doujon doujon system_u:object_r:samba_share_t:s0 System
drwxrwsr-x. doujon doujon system_u:object_r:samba_share_t:s0 Videos
drwxrws---. doujon users system_u:object_r:samba_share_t:s0 Windowsbackups
Code: Select all
ls -laZ /storage/Samba/Nextcloud/
drwxr-xr-x. doujon doujon unconfined_u:object_r:samba_share_t:s0 .
drwxr-xr-x. doujon doujon unconfined_u:object_r:samba_share_t:s0 ..
drwxr-xr-x. doujon doujon system_u:object_r:fusefs_t:s0 COMPANY
drwxr-xr-x. doujon doujon system_u:object_r:fusefs_t:s0 doujon
Dam