Need function to test if EFFECTIVE UID has read-access to a file.

Markus Kemp NutJob at
Thu Nov 18 18:37:24 CET 2004

Me again, haha

Okay, I've solved my problem. Rearranged my program logic and
eliminated the check  that was to verify if the dir are accessable or
not, because if yes I would have called os.listdir() a few lines down
in the code anyway. So I sort of did what Skip suggested and just
listdir'd catching any OSError exceptions that get thrown if the dir
is not accessible for some reason. =)



More information about the Python-list mailing list