[Samba] Folder Redirection broken if access is from ACL only

grantb at WebDS grantb at webds.com.au
Mon Apr 18 23:09:00 GMT 2005


I have an issue with W2K/XP using Folder Redirection to a Samba homes
share (or any share for that matter). This is only a problem when access
for a user is via an ACE (ACL) and not the traditional file system
permissions.

So for example (user is cath in this example):

[root at gandalf users]# ll -d cath
drwxrwx---+ 5 root root 4096 Apr 15 20:40 cath

[root at gandalf users]# getfacl cath
# file: cath
# owner: root
# group: root
user::rwx
user:cath:rwx
group::---
mask::rwx
other::---
default:user::rwx
default:user:cath:rwx
default:group::---
default:mask::rwx
default:other::---

I have also tried this using the "profile acls = yes" option, but with no
success (works fine for roaming profiles tho, as it was designed to do).

It seems that Windows may be trying to set ACLs on index.dat which fails
when access is via ACLs only. Here's an indication of this from the smbd
log:
[2005/04/12 21:44:55, 2] smbd/posix_acls.c:set_canon_ace_list(2436) 
set_canon_ace_list: sys_acl_set_file failed for file
k-drive/History/History.IE5/MSHist012005041220050413/index.dat (Operation
not permitted).
[2005/04/12 21:44:55, 2] smbd/close.c:close_normal_file(270)   DBR05A+cath
closed file k-drive/History/History.IE5/MSHist012005041220050413/i
ndex.dat (numopen=3)

Any help would be appreciated. I expect that this may be an Samba issue
that might need to be looked at by the samba-technical gods.

Jeremy did ask for additional diagnostic detail, which I sent. However he's probably
been side tracked by something more important.

Cheers, Grant



More information about the samba mailing list