in reply to how to check permissions
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to check permissions
by Anonymous Monk on Feb 16, 2018 at 07:07 UTC | |
by hippo (Archbishop) on Feb 16, 2018 at 09:05 UTC |