[Samba] Option "hide unreadable"
markus.amersdorfer at aon.at
Thu Apr 11 23:26:02 GMT 2002
With about Samba 2.2.1 the IMHO great option "hide unreadable" was
introduced, which generally works fine.
Anyway, I have encountered two problems with this option:
When "hide unreadable" is set globally, "admin users" of a share do not
see everything (although IMHO they should because they can access the
directories and files as Samba gives kind of "root"-rights to them).
Of course I could unset the option for this specific share, but then
normal users will see everything too...
Unfortunately, the implementation does not seem to take into account
the aspect of ACL's:
I'm using Samba (2.2.3a) on a machine with a Linux 2.2.20 patched with
the so called "Trustees" (http://trustees.sourceforge.net/) which is not
the POSIX-compliant way of ACL's but a more Novell-like approach: it
doesn't save additional information for every file but just for Users &&
Directories - there's one configuration file which holds the access
Unfortunately, the "hide unreadable" option seems to look at the classic
ext2-file-system-rights of the files and directories and therefore hides
directories a user actually has access to.
Isn't there a way to check the access-rights (not via "trying to open
it" but something similar instead) which really works in this ACL-case
too? What's the behaviour with the ext2-POSIX-ACL-patch or with XFS'
Anyway, THX to the Samba-Team for all your great work!! :))
An expert is someone who can tell you exactly afterwards,
why his prognosis was not correct.
< Winston Churchill >
More information about the samba