in reply to Re: check if file is executable by user/group/world?
in thread check if file is executable by user/group/world?
perl -e 'use Fcntl qw(:mode);$permissions=S_IMODE((stat("filename"))[2 +]);print $permissions,"\n";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: check if file is executable by user/group/world?
by vinoth.ree (Monsignor) on Aug 06, 2009 at 08:50 UTC |