Some shared folders (root folders and non root folders) are seen as files on Windows XP and Windows 2003 having ACL enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
Hi Guys,
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+
user::rw-
group::r-x #effective:---
group:Domain+
group:Domain+
group:Domain+
mask::---
other::---
Here is the smb.conf shared section..
[shared]
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.
lborda@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
---
lborda@
ii libpam-smbpass 2:3.4.7~
ii libwbclient0 2:3.4.7~
ii samba 2:3.4.7~
ii samba-common 2:3.4.7~
ii samba-common-bin 2:3.4.7~
ii samba-doc 2:3.4.7~
ii smbfs 2:3.4.7~
ii winbind 2:3.4.7~
Please let me know if you need anything else.
Leonardo
Problem is fixed by changing acl mask permissions.
Leonardo