[Samba] Can't change directory to /public (Permission denied)-Illogical error in Samba 2.2.6

Harm Kirchhoff harm.kirchhoff at mx10.ttcn.ne.jp
Wed Jan 1 11:19:01 GMT 2003

The following error occured persistently, when trying to access a world
rw-able directory public from Win2000 (samba version 2.2.6):

(log file:)

[2003/01/01 17:45:57, 0] smbd/service.c:make_connection(597)
    harm ( Can't change directory to /public (Permission denied)

The following is the share in the smb.conf file:
	comment = public share: read & write, no execute
	path = /public
	read only = No
	guest ok = Yes

Allthough the file permissions for the user Harm and administrator were
set to rw:
owner: root
group: root

Allthough Harm and administrator could open public when logged in
locally, samba could see but not open the directory, when the users were
logged in on the Win2000 machine, allthought they were able to see their
own /home/Harm and /home/adminisitrator home directories.

Once I set the Execute permission to Others, Harm and administrator were
able to open the /public directory.
Permission: rwxrwxrwt

I think they should be able to open it with rw-permissions only.

Is this an error or am I wrong ?

ANNEX: Full smb.conf file:

    # Samba config file created using SWAT
# from localhost.localdomain (
# Date: 2003/01/01 19:41:17

# Global parameters
	workgroup = TOKYO
	netbios name = HARM
	server string = Samba Server
	encrypt passwords = Yes
	log file = /usr/local/samba/var/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	dns proxy = No
	printer admin = administrator

	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[Canon LBP 350 Harm]
	comment = Local Printer installed on Harm
	path = /var/spool/samba
	printable = Yes
	printing = cups

	path = /usr/local/samba/printers
	admin users = administrator
	write list = administrator

	comment = public share: read & write, no execute
	path = /public
	read only = No
	guest ok = Yes

[Home Directories]
	comment = Home directories of all users
	path = /home
	read only = No

More information about the samba mailing list