s3: Remove some code that has become unnecessary
authorVolker Lendecke <vl@samba.org>
Thu, 7 Jan 2010 13:50:43 +0000 (14:50 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 7 Jan 2010 13:58:55 +0000 (14:58 +0100)
commit801edeccc6f529647eaed0dd23728a257cf9479f
treee948cf7c3286933013b3c790ed8e9c0f9c782e40
parentc1ca00047d26ace240fa5f34b428392b5d61e6c3
s3: Remove some code that has become unnecessary

The code I just removed was checked in with e5466fffc286a99f as a bug fix for
https://bugzilla.samba.org/show_bug.cgi?id=3319. With the changes to
is_visible_file made with 9e8b8f8c16612 these lines have become unnecessary,
even with "hide unreadable = yes" dead msdfs symlinks show. This is because we
can not stat(2) them and default to showing them.

Why this change? I have a user who wants to use "hide unreadable" on msdfs
links. Because you can't edit acls on symlinks themselves, the user created the
targets as bogus, empty files that just exist as acl placeholders. With the
code in place that this patch removes, we never allow this to work.

Jeremy, please check! :-)

Thanks,

Volker
source3/smbd/dir.c