[issue8487] os.mknod() fails on NFS mounted directories

2010-04-21 Thread Georg Brandl
Georg Brandl added the comment: Closing this, as it is not an issue with Python. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue8487] os.mknod() fails on NFS mounted directories

2010-04-21 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Well, this looks like a filesystem problem more than a Python problem. The error (errno 2) comes from the mknod() system call itself. Definitely. @Nikratio Just to be sure, could you provide the result of: - strace ~/tmp/test.py from NFS-mounted dir

[issue8487] os.mknod() fails on NFS mounted directories

2010-04-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8487] os.mknod() fails on NFS mounted directories

2010-04-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, this looks like a filesystem problem more than a Python problem. The error (errno 2) comes from the mknod() system call itself. -- nosy: +pitrou ___ Python tracker __

[issue8487] os.mknod() fails on NFS mounted directories

2010-04-21 Thread Nikolaus Rath
New submission from Nikolaus Rath : $ cat test.py #!/usr/bin/env python import os import stat dbfile = './testfile.test' with open(dbfile, 'w') as fh: print('Opened file for writing') os.unlink(dbfile) os.mknod(dbfile, stat.S_IRUSR | stat.S_IWUSR | stat.S_IFREG) print('Mknod\'ed file') [cl..