Need function to test if EFFECTIVE UID has read-access to a file.
Markus Kemp
NutJob at gmx.net
Thu Nov 18 12:37:24 EST 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. =)
Regards,
Markus
More information about the Python-list
mailing list