Date: Mon, 16 Oct 2006 10:00:39 GMT From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/98414: [libc] fts_read(3) disregards permissions of mounted volume Message-ID: <200610161000.k9GA0dBC022049@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/98414; it has been noted by GNATS. From: Yar Tikhiy <yar@comp.chem.msu.su> To: bug-followup@FreeBSD.org, tyomitch@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610161000.k9GA0dBC022049>