[issue1528] Add os.fchmod

2007-11-30 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1528] Add os.fchmod

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: I've applied the combined patch in r59242. I've tested Georg's fchmod/fchown on my Linux system. They functions are working as expected. However lchmod is not available on my system although it is in the header files. It should be available on Mac and some oth

[issue1528] Add os.fchmod

2007-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: Just check these into the trunk, guys! Great! __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Un

[issue1528] Add os.fchmod

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: I'm adding lchmod, too. -- nosy: +tiran __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1528] Add os.fchmod

2007-11-30 Thread Georg Brandl
Georg Brandl added the comment: Attached is a patch against trunk that adds fchmod() and fchown() calls where available. I hope I did the configure magic correctly. -- nosy: +georg.brandl Added file: http://bugs.python.org/file8836/fchmod-fchown.diff __ T

[issue1528] Add os.fchmod

2007-11-30 Thread Guido van Rossum
Changes by Guido van Rossum: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1528] Add os.fchmod

2007-11-30 Thread Guido van Rossum
New submission from Guido van Rossum: Modern Unix systems have a fchmod() system call, which is like chmod() but takes a file descriptor instead of a filename. Python's os module (via the posix module) should support this if it exists on the target platform. -- messages: 57997 nosy: gva