I have two shares setup on my newly-installed zentyal 3 server, <host>,
* /guest has guest access enabled and
* /priv has guest access disabled and provides access to <user>, a specific user.
Both of these shares were created from existing directories.
From a Windows 7 client, I can access /guest but not /priv (even as <user>):
"Windows cannot access \\<host>\priv. You do not have permission to access \\<host>\priv. Contact your network administrator to request access."
I think the problem has to do with file permissions on <host> but am not sure how zentyal/samba is managing authorization. Can anyone shed some light on these observations?
On <host>, I notice that the permissions on /guest and /priv are different:
root@host:~# ls -ld /guest/
drwxrwx--- 4 sync __USERS__ 4096 Feb 7 00:43 /guest/
root@host:~# ls -ld /priv/
drwx------ 66 sync __USERS__ 20480 Oct 1 20:23 /priv/
If I 'chmod 755 /priv' on <host>, then my Windows 7 client can access the /priv share; but if I subsequently make changes via zentyal, then zentyal reconfigures 'chmod 700 /priv' and the share becomes inaccessible.
Why is zentyal using these permissions and how can I get it to share with Windows 7 clients?