os.path.isdir strange behaviouring

Aahz Maruch aahz at netcom.com
Mon Jun 19 19:57:35 EDT 2000


In article <394e3d29.0 at katana.legend.co.uk>,
Thomas Mangin <thomasm at legend.co.uk> wrote:
>
>I notice that if a directory is root owned and chmoded 700 (let say /test)
>and if it contain a directory called test2
>os.path.isdir("/test/test2") return 0 if called by a "normal user"
>I was expecting an exception.

Why were you expecting an exception?
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"The only problem with Microsoft is they just have no taste." --Steve Jobs
(From _Triumph of the Nerds_ PBS special)



More information about the Python-list mailing list