kern/98414: [libc] fts_read(3) disregards permissions of
mounted volume
Yar Tikhiy
yar at comp.chem.msu.su
Mon Oct 16 03:00:40 PDT 2006
The following reply was made to PR kern/98414; it has been noted by GNATS.
From: Yar Tikhiy <yar at comp.chem.msu.su>
To: bug-followup at FreeBSD.org, tyomitch at gmail.com
Cc:
Subject: Re: kern/98414: [libc] fts_read(3) disregards permissions of mounted volume
Date: Mon, 16 Oct 2006 13:59:23 +0400
I think that this problem is closely related to the fact that the
permissions on the original mountpoint directory affect the ability
of a process to access ".." from the mounted filesystem root. See
CAVEATS in mount(8) for details. AFAIK fts(3) uses chdir("..")
when traversing a directory tree unless FTS_NOCHDIR was specified
to fts_open(3). FTS_NOCHDIR is usually no good because it limits
the depth of the tree fts(3) is able to traverse to PATH_MAX.
Would you agree now that there is no bug to fix and so this PR can
be closed?
--
Yar
More information about the freebsd-bugs
mailing list