"hide unreadable" only hides files (not directories)

Bill Moran wmoran at potentialtech.com
Wed Jan 30 09:34:06 GMT 2002

Using Samba 2.2.2_2 (from FreeBSD port) on FreeBSD 4.4 & 4.3

The hide unreadable feature only hides unreadable files, not directories.
Is this intended behaviour or is it only evident on FreeBSD (Linux? Others?)

I hacked dir.c and replaced user_can_read_file() with a call to access(1)
but I doubt this is a proper fix in the grand scheme of things.  For now,
however, it make things work right.

Any thoughts?

Bill Moran
Potential Technology technical services

More information about the samba-technical mailing list