Some samba shared folders (root folders and non root folders) are seen as files on Windows XP and Windows 2003 when ACL is enabled.
If I rename a folder, delete it or create a new folder, a different folder becomes a file.
We have identified that this error occurs when a "file" has acl mask set to mask::--- in the directory. ie:
# file: file.exe
# owner: Domain+user
# group: BUILTIN+administrators
Here is the smb.conf shared section..
comment = Shared Area
path = /samba/shared
read only = No
create mask = 0770
force security mode = 0700
inherit acls = Yes
hide unreadable = Yes
fstype = XFS 1.2
vfs objects = full_audit, shadow_copy
Steps to reproduce.
1. Enable acls
2. Configure samba as described above.
3. create 3 folders, create a file inside each folder and set one of the files as follow:
sudo setfacl -m m:--- filename
4. Join a winxp or windows 2003 into a domain and try to access a shared folder.
Please let me know if you need anything else.
Problem is fixed by changing acl mask permissions.
(In reply to comment #1)
> Problem is fixed by changing acl mask permissions.
I mean a workaround can be found however the problem exists.