You can run
If it shows just output that is the same as wrx there are no ACL policy affecting the files. ACL is usually permissions and a plus sign to show there are ACLs.
-rwxrwxrwx+
It does however not make sense to me why the files work after being moved to temp and back.
Looking carefully at your output, i was on phone before and did not see this.
-rwxrwxrwx.
You see that dot after the permission... i bet that you are running a system with SELinux. It makes perfect sense now.
Output the directory using
I am very sure you will see something like samba_share_t somewhere.
This tells selinux that it is ok to allow access to this file because it is marked to be useable by samba. If it is anything other than that say http_cahche_t or whatever, selinux says, look samba, nice try but this file has noghing to do with your job so you ain't gonna use this sorry. Selinux will then block samba accessing that file.
So all files in that directory has to be labeled with the correct SElinux context.
This sort of thing may happen if you copy http files etc without relabelling them on the linux side.
Check if you have selinux enabled with
If it is an issue in the future you could run something like
Code:
semanage fcontext -a -t samba_share_t '/<shared path>(/.*)?'
restorecon -R /<shared path>
So that will tell selinux to label all files in specified directory and subfolders to samba share context and it will survive reboots.
Seeing you made your own share directories that are non standard, run those and then it should magically work next time.
It will also automatically relable file created to that directory