Question: How to change the permisisons of a file?

Hi,

Is it possible to change programmatically the permissions of a file without using ssystem?
Such as in ssystem("chmod +x MyFile") for instance

TIA

Please Wait...