my $mode = (stat($filename))[2]; my $new_mode = $mode | 0100; chmod $mode, $filename);
In reply to Re: How to use chmod u +x in perl
by Anonymous Monk
in thread How to use chmod u +x in perl
by fearthechris29
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |