[issue14702] os.makedirs breaks under autofs directories
Hynek Schlawack
report at bugs.python.org
Sat May 19 16:11:28 CEST 2012
Hynek Schlawack <hs at ox.cx> added the comment:
> """
> stat("/net/prodigy", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> mkdir("/net/prodigy/tmp", 0777) = -1 EACCES (Permission denied)
> """
>
> As you can see, a stat() is already done on /net/prodigy.
To be fair, that shouldn’t trigger a mount. Otherwise a `ls -l` on /net
would mount all volumes.
> Event if it wasn't done, calling mkdir() ought to trigger the mount.
I’m not sure if/where the behavior is defined – let’s what the Linux
people say.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14702>
_______________________________________
More information about the Python-bugs-list
mailing list