permissions not honoured by /bin/pwd aka getcwd

From: Harald Kirsch (kir@iitb.fhg.de)
Date: Thu Feb 24 2000 - 03:11:05 EST


Why is /bin/pwd (or getcwd) allowed to return an output in the following
command sequence?

% mkdir -p really/closed; cd really/closed; chmod 000 ..; /bin/pwd
/home1_phys/kir/sunHome/tmp/really/closed

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