[Samba] error -13 with smbopen

Joel Hammer Joel at HammersHome.com
Sat Mar 2 07:14:07 GMT 2002


Well, I tried to change permissions on the aph5 directory. Got the same
problem with kfm although there was no trouble using the console to open
this directory. I can't fool much with this because every time this
happens, I have to reboot to regain control. The error messages go to
the console, freezing me out of the box while all these messages
scroll across the screen. And, I cannot kill the kfm process, either
from within kde or by telneting in from another computer. Its unkillable.

I suspect I have damaged this computer via numerous upgrades and patches,
etc. I would hate to have to recreate this monster (win4lin, kwintv,
dhcpd, xterminal server and all the rest.) So, I'll just avoid using kfm
to access files on that one particular machine.

Joel

On Sat, Mar 02, 2002 at 03:14:52PM +0100, Urban Widmark wrote:
> On Thu, 28 Feb 2002, Joel Hammer wrote:
> 
> > Using linux on both server and client.
> > I can run smbmount and all seems ok. But, when I try to use kfm to browse a
> > share, I get the following messages thousands of times in /var/log/messages
> > and things more or less hang up.  I have to telinit 1 to get control of my
> > client machine.
> > 
> > smb_open: aph5/.directory open failed, result=-13
> > smb_readpage_sync: aph5/.directory open failed, error=-13
> 
> -13 is -EACCESS, see /usr/include/asm/errno.h. The server isn't allowing
> access, if you think it should check permissions on the server side.
> 
> Sounds like kfm isn't handling the error return properly if it starts
> looping on the same directory. But you haven't included enough detail to
> say.
> 
> 
> smbfs is rather verbose. This causes extra work and you may want to try
> editing fs/smbfs/Makefile and remove the line with:
>     EXTRA_CFLAGS += -DSMBFS_PARANOIA
> recompile and reinstall. You won't get anymore "open failed" messages
> (the opens still fails, of course).
> 
> /Urban




More information about the samba mailing list