#1322: [RFC] OS.chmod & FileHandle.fchmod
---------------------+------------------------------------------------------
Reporter: fperrad | Owner:
Type: RFC | Status: new
Priority: normal | Milestone: 2.0
Component: core | Version: 1.8.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: all |
---------------------+------------------------------------------------------
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)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1322>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets