New submission from David Cuddihy:
Calls to os.getcwd() can fail if issued from a cifs-mounted directory once any
of the files or subdirectories have been changed remotely. To recreate this:
on Linux, mount a windows share using the mount.cifs command. cd to the share
and run python
David Cuddihy added the comment:
I apologize for not posting the strace output - I didn't see the request until
today.
Libc getcwd() is indeed failing - when I run a c program which calls getcwd()
and prints the output, the call to getcwd() fails - errno is ENOENT and the
buffer is