[Samba] stuck in a loop?

Urban Widmark urban at teststation.com
Tue Aug 6 14:26:02 GMT 2002

On Tue, 6 Aug 2002, James Kuo wrote:

> Hi Everyone, 
> Just wondering if anyone has seen anything similar to this:
> Jul 28 21:57:30 GATEWAY smbd[6681]:   open_directory: unable to stat name =
> proc
> /self/cwd/proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/self/
> cwd/
> proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/s
> elf/
> cwd/proc/self/cwd/proc/self/cwd/proc/self/cwd/proc/

I'm guessing that /proc is accessible from some share?
You probably shouldn't export / directly, if that is what you are doing.
Or set "follow symlinks = no" in the smb.conf.

I think you have a client that is trying to search things in it and finds
an infinite recursion of symlinks (look at the contents of /proc). There
are limits on the length of a pathname so stat() will eventually fail.


More information about the samba mailing list