Your skill will accomplish what the force of many cannot |
|
PerlMonks |
How to open file while giving exec permissions?by ovedpo15 (Pilgrim) |
on Feb 06, 2022 at 22:40 UTC ( [id://11141180]=perlquestion: print w/replies, xml ) | Need Help?? |
ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks! A really simple question here. I'm creating a file and I would like to give it exec permission, same as I get for chmod a+x file. The code: From the docs I understand that it sets the permissions to 0666. How can I make it have exec bits?
Back to
Seekers of Perl Wisdom
|
|