Re: permissions not honoured by /bin/pwd aka getcwd

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Fri Feb 25 2000 - 03:04:58 EST


In <200002241602.KAA07287@tomcat.admin.navo.hpc.mil> Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil) wrote:
> Anton Ivanov <aivanov@eu.level3.net>:
> ...

> The program /bin/pwd gives the expected answer by reading the current directory
> to find .., then reading it to locate the inode reference to the current
> unnamed directory (well, known as . -> alias is looked up in .. by searching
> for the inode number). This cycle repeats until /bin/pwd reaches the root
> directory.

Huh ? Are you tried this REALLY ? On current Linux /bin/pwd does not touch
disk as well and always works...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:11 EST