Tuesday, May 28, 2024

SMB "no such file or directory" error on RHEL 9 and Fedora 40 (SELNINUX)

While setting up RHEL 9.4 for a file server and I constantly ran into "No such file or directory" errors when trying to browse a samba share. It turns out I needed to set SELINUX to permissive for samba.

The below fixed my SELINUX samba woes.

sudo setsebool -P samba_export_all_rw on