Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90854 - samba-3.0.14a strange 'hide unreadable' behaviour
Summary: samba-3.0.14a strange 'hide unreadable' behaviour
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 06:52 UTC by barthek
Modified: 2005-06-08 07:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description barthek 2005-04-29 06:52:45 UTC
i have problem with mentioned keyword, and have created a simple
test case to show that. i'm talking about home share with default options
used except 'hide unreadable' which was set to 'Yes'.

on linux client:
mkdir tmp tmp/normal tmp/restricted

on WXP client:
cd tmp && dir (get normal and restricted directories)

then, on linux:
chmod go-rwx tmp/restricted

on WXP:
dir (gives ONLY normal directory)
cd restricted (WORKS)
dir (OK, gives restriced content)

can anyone explain why is such behaviour occuring?
and am i doing something wrong here ?
when i set 'hide unreadable' to 'No' everything works nice and smooth.
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2005-06-08 01:54:06 UTC
samba uses the filesystem permission execution bits to store that type of
informations.
Just look at the acl howto part in samba docs, and the 'acl' keywords in 'man
smb.conf'
Comment 2 barthek 2005-06-08 05:48:27 UTC
i think you have missed the point.

what has ACL support to do with it?
for this simple testcase standard POSIX permissions
are enough to show that there is something wrong with the option.

could you please elaborate on what you said ?
Comment 3 Christian Andreetta (RETIRED) gentoo-dev 2005-06-08 07:03:21 UTC
maybe I misunderstood your intentions: is this ralated to 'inherit permissions'
and/or 'map {archive,hidden,system}'?
what are the remote (and local) user credentials?