(I also want to check for setuid/setgid/sticky.) I knew that bitwise was the best way to go, thanks for setting me back on the path.if ($mode & 07022) { ... }
In reply to Re^3: UNIX File Permissions equal or less than conditions
by Themis74
in thread UNIX File Permissions equal or less than conditions
by Themis74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |