lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: permissions not honoured by /bin/pwd aka getcwd
Date
From
Peter Chubb <peterc@aurema.com> said:

[...]

> The posix.1 spec for getcwd says this:
>
> (section 5.2.2.4)For each of the following conditions, if the
^^^^^^
> condition is detected, the getcwd() function shall return a value
^^^^^^^^^^^^^^^^^^^^^
> of NULL and set errno to the corresponding value:
>
> [EACCESS] Read or search permission was denied for a component of
> the pathname.

Sorry for standardese not being native language to me, but this doesn't say
it _must_ be checked, just what has to be done if it is detected AFAIU.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616

-
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:2.912 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site