in reply to check if file is executable by user/group/world?
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: check if file is executable by user/group/world?
by XooR (Beadle) on Aug 06, 2009 at 08:00 UTC | |
|
Re^2: check if file is executable by user/group/world?
by Utilitarian (Vicar) on Aug 06, 2009 at 07:57 UTC | |
by vinoth.ree (Monsignor) on Aug 06, 2009 at 08:50 UTC |