Date: Mon, 21 Jan 2002 13:10:02 -0800 (PST) From: Ian Dowse <iedowse@maths.tcd.ie> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/12244: realpath() fails when there is no permission to read the WD Message-ID: <200201212110.g0LLA2E27670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/12244; it has been noted by GNATS. From: Ian Dowse <iedowse@maths.tcd.ie> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/12244: realpath() fails when there is no permission to read the WD Date: Mon, 21 Jan 2002 21:06:59 +0000 Adding to the audit trail: In message <20020121021534.A853@v-ger.we.lc.ehu.es>, "Jose M. Alcaide" writes: >On Sun, Jan 20, 2002 at 10:02:15AM -0800, iedowse@FreeBSD.org wrote: >> Synopsis: realpath() fails when there is no permission to read the WD >> >> State-Changed-From-To: open->feedback >> State-Changed-By: iedowse >> State-Changed-When: Sun Jan 20 10:01:13 PST 2002 >> State-Changed-Why: >> >> Is this problem still present in more recent releases? >> >> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12244 > >Yes, it is. Realpath(3) continues using open()/fchdir() for >saving/restoring the current directory. I think that the getwd()/chdir() >method should be used as fallback. > >-- >****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** >** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201212110.g0LLA2E27670>