lkml.org 
[lkml]   [2000]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: permissions not honoured by /bin/pwd aka getcwd
Date
Harald Kirsch writes the following:
>The point is that on all other *nixes (as reported in the Tcl-newsgroup)
>the behaviour is different. getcwd does return `permission denied' if
>the x-flag of the current dir or any of its parents is not present.
>
>But maybe all other systems are not POSIX and Linux is or Linux knows
>better than POSIX?

You might get a better response if you can point to the POSIX requirement
that getcwd() behave specifically as you describe, or that the system is not
allowed to have additional syscalls that provide slightly more information
than is available through opendir/readdir/etc.

-
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.210 / U:0.180 seconds]
©2003-2014 Jasper Spaans. hosted at Digital Ocean