Messages in this thread | | | Subject | Re: permissions not honoured by /bin/pwd aka getcwd | Date | Fri, 25 Feb 2000 15:10:51 -0300 | From | Horst von Brand <> |
| |
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/
| |