Ticket #1322 (closed RFC: fixed)
[RFC] OS.chmod & FileHandle.fchmod
Reported by: | fperrad | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 2.2 |
Component: | core | Version: | 1.8.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
Currently, there are no way to modify file permission bits.
For example, in distutils.pir, I use :
$I0 = spawnw 'perl -MExtUtils::Command -e ExtUtils::Command::chmod 0755 filename'
We could wrap POSIX C functions :
- in OS PMC, a method chmod(path, mode)
and/or
- in FileHandle PMC, a method fchmod(mode)
Change History
Note: See
TracTickets for help on using
tickets.