[Samba] Possible solution to "Access Denied"

Paul Duffin pduffin at volantis.com
Wed Oct 6 10:25:04 GMT 2004

I have been using Windows synchronize with Samba to allow me to work 
offline from my Linux box. Just recently, (I do not believe anything has 
changed but you can never tell what IS may have done), it stopped 
working with an error similar to the following (reported in 

Offline Files (\\server\user on server): Access to 'file.txt' is denied 
on \\server\user\my_folder.

After a little fruitless googling for a solution I turned on debug 
logging (in SMBD) and found the following messages.

[2004/10/06 10:39:00, 2] smbd/posix_acls.c:set_canon_ace_list(1776)
   set_canon_ace_list: conn->vfs_ops.sys_acl_set_file failed for file 
dir1/8000B143 (Operation not supported).
[2004/10/06 10:39:00, 3] smbd/posix_acls.c:set_nt_acl(2285)
   set_nt_acl: failed to set file acl on file dir1/8000B143 (Operation 
not supported).
[2004/10/06 10:39:00, 2] smbd/close.c:close_normal_file(213)
   anon closed file dir1/8000B143 (numopen=0)
[2004/10/06 10:39:00, 5] smbd/files.c:file_free(346)
   freed files structure 4514 (0 used)
[2004/10/06 10:39:00, 3] smbd/error.c:error_packet(94)
   error string = Operation not supported

Some more googling indicated that there was a problem with ACL support 
in samba when working with Win2K and a possible solution 
(http://www.spinics.net/lists/samba/msg13778.html) was to disable it.

I then added the following to all my shares.
     nt acl support = no

Kicked samba (kill -1) so it would pick up the changes, resynchronized 
and lo and behold it worked.

Hope this helps.

More information about the samba mailing list