[Samba] Permission Denied when "all" bits not set to r/w

Brandon Dimcheff bdimcheff at westpole.com
Wed Jul 5 14:11:39 GMT 2006


Hello,

I'm having trouble with permissions on Samba 3.0.21.  It almost seems  
that the "all" bits are the only ones that Samba is obeying.  For  
instance, I created this file remotely over a samba share:

brandon.dimcheff at unity ~/untitled folder $ ls -als
total 17
0 drwx--S---   3 brandon.dimcheff westpole  160 Jul  3 15:51 .
1 drwx------  12 brandon.dimcheff westpole  816 Jul  3 15:51 ..
4 -rw-rw----   1 brandon.dimcheff westpole    4 Apr 12 17:41 test2

But when I try to access it, I get a permissions denied error and the  
logs produce the following.  If I set the permissions of the file to  
666, I can use the file just fine:

[2006/07/03 15:51:45, 3] smbd/process.c:process_smb(1194)
   Transaction 321 of length 134
[2006/07/03 15:51:45, 3] smbd/process.c:switch_message(993)
   switch message SMBntcreateX (pid 22541) conn 0x803b73f8
[2006/07/03 15:51:45, 3] smbd/dosmode.c:unix_mode(121)
   unix_mode(untitled folder/test2) returning 0764
[2006/07/03 15:51:45, 3] smbd/open.c:open_file(276)
   Error opening file untitled folder/test2 (Permission denied)  
(local_flags=0) (flags=0)
[2006/07/03 15:51:45, 3] smbd/error.c:unix_error_packet(90)
   unix_error_packet: error string = Permission denied
[2006/07/03 15:51:45, 3] smbd/error.c:error_packet(146)
   error packet at smbd/trans2.c(2632) cmd=162 (SMBntcreateX)  
NT_STATUS_ACCESS_DENIED

I'm running Samba with an LDAP backend and have ACL support compiled  
in, and the filesystem has ACLs enabled.  Samba is serving as the PDC.

I appreciate any suggestions.  My smb.conf is attached.
-- 
Brandon Dimcheff
IT Consultant
West Pole, Inc. - http://www.westpole.com
201 Nickels Arcade, Ann Arbor, MI 48104 - 734.995.6390 x21

-------------- next part --------------



More information about the samba mailing list