lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: permissions not honoured by /bin/pwd aka getcwd
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.079 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site