
report at bugs
May 19, 2012, 7:20 AM
Post #33 of 36
(53 views)
Permalink
|
|
[issue14702] os.makedirs breaks under autofs directories
[In reply to]
|
|
Hynek Schlawack <hs [at] ox> 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. > > Not sure what "that" is: my view is that mkdir should trigger the mount, > /net/prodigy is already there and available. ls -l doesn't invoke mkdir(2), > so you wouldn't get a mount storm when it is mkdir that triggers the mount. Sure, I was refering (as I hoped that my quoting would indicate) to the stat on /net/prodigy, not the mkdir. I commented on the mkdir in the next paragraph. ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue14702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|