use Fcntl ':mode'; $file = 'myfile'; $mode = (stat($file))[2]; chmod ($mode | S_IXOTH), $file;
In reply to Re: check if file is executable by user/group/world?
by Anonymous Monk
in thread check if file is executable by user/group/world?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |