I assume that you want to check the permission of the file
Fcntl':mode' module contains all the constants and functions you need to extract the file type and permissions. S_IMODE is the function which helps you extract the permissions: $permissions = S_IMODE($mode);
In reply to Re: check if file is executable by user/group/world?
by vinoth.ree
in thread check if file is executable by user/group/world?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |