Out of curiosity. I've been thinking about the different access models often seen in *nix and the one seen in windows nt based systems.
Is there any command or api to check if a file is readable, executable etc for a user different than the logged in user. For instance something like: http://www.php.net/manual/en/function.is-executable.php or http://stackoverflow.com/questions/1861836/checking-file-permissions-in-linux-with-python But for any user that the executing user has permission to see.
Is there any reason why such a function should not be found?