"hide unreadable" only hides files (not directories)

Simo Sorce idra at samba.org
Wed Jan 30 15:13:08 GMT 2002


windows Nt 2k XP started using also RPCs to retrieve directory  information, probably I have to look at these too and make them obey the hide unreadable files.

On Wed, Jan 30, 2002 at 11:30:21AM -0500, Bill Moran wrote:
> 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
> http://www.potentialtech.com
> 

-- 
Simo Sorce       idra at samba.org
-------------------------------
Samba Team http://www.samba.org




More information about the samba-technical mailing list