This is driving me bananas.
I have samba up and running. I can connect and see my share directories.
However I can only browse my home directory. I get errors along the lines of
'/opt/samba-test' does not exist or is not a directory, when connecting to [samba-test]
in my log file.
Looking around the web I gather I have to sort out Samba with Selinux.
I've tried running
chcon -t samba_share_t /opt/samba-test
but i get this error
chcon: failed to change context of /opt/samba-test to system_u
bject_r:samba_share_t: Invalid argument
I've also tried
setsebool -P smbd_disable_trans 1
but that gives
Error setting boolean smbd_disable_trans to value 1 (No such file or directory)
What am I doing wrong? And what should I be doing?