This will send back to you the usual UNIX-style permissions - once you have them - you can then interrogate them as you wish.$mode = (stat($filename))[2]; printf "permissions are %04o\n", $mode &07777
In reply to Re: how to check permissions
by draconis
in thread how to check permissions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |