[mod_python] os.listdir()

William Chan ycchan at gmail.com
Wed Mar 23 22:52:35 EST 2005


Hi,

   I'm using mod_python. os.listdir('/tmp') in a request handler
returns a list of empty strings (note: the number of empty strings is
the same as the number of elements in /tmp). I am sure that I can
access the filesystem in request handlers since os.stat('/tmp').st_ino
returns the correct inode number. Any idea what may go wrong?

Thanks,
William


More information about the Mod_python mailing list