my $DANGER_BITS = 0022; my $dangerBitCheck = ( $permissionsMask & $DANGER_BITS ); if ($dangerBitCheck) { print "FAIL\n"; }
In reply to Re^2: UNIX File Permissions equal or less than conditions
by marinersk
in thread UNIX File Permissions equal or less than conditions
by Themis74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |