I am trying to setup a simple samba share, but all I can get is "permission denied" (both in Windows and Linux). This is my share section:
[pdf]
comment = PDFs
browseable = yes
guest only = yes
path = /writeable/path
writable = yes
public = yes
valid users = somevaliduser
I can mount the share and read files that are in there, but there is no write access. The dir itself has rwxrwxrwx
permissions.
And of course, the Samba logs are useless as ever.
Best Answer
Turns out, it was SELinux.
I had checked it before using
selinuxenabled
, which returned0
, turns out, that means SELinux is enabled. (Who thinks of these things?).The correct command to check it is
sestatus
, which told me it was enabled and enforcing.