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

From: Harald Kirsch (kir@iitb.fhg.de)
Date: Thu Feb 24 2000 - 15:59:44 EST


On Thu, Feb 24, 2000 at 03:16:59PM -0500, Alan Curry wrote:
> Harald Kirsch writes the following:
> >Your reasoning would mean that we can implement `additional syscalls'
> >linuxstat(), linuxopen() and linuxreadlink() which `provide slightly
> >more information', e.g. by not at all looking at permissions.
> >
> >Of course we can, but should we?
>
> Is there a real-life situation in which it is desirable to prevent a process
> from knowing what directory it is in?

Should I know? I am not a security guru. I only noticed that Tcl's
test-suite fails on linux because of this and it was reported that linux
is the only system with that behaviour --- and Tcl runs on a lot of
systems.

Harald Kirsch

-- 
-------------------------------------------------+------------------
Harald Kirsch, kir@iitb.fhg.de, +49 721 6091 369 |
FhG/IITB,      Fraunhoferstr.1, 76131 Karlsruhe  |

- 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:10 EST