File::Find::Rule::PermissionsRule to match on file permissions and user access | |
Download |
File::Find::Rule::Permissions Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David Cantrell
- Publisher web site:
- http://search.cpan.org/~dcantrell/
File::Find::Rule::Permissions Tags
File::Find::Rule::Permissions Description
Rule to match on file permissions and user access File::Find::Rule::Permissions is a Perl extension for File::Find::Rule to work with file permission bits and determine whether a given user can read, write or execute files.SYNOPSIS use File::Find::Rule::Permissions; # Which files can the 'nobody' user read in the current directory? @readable = File::Find::Rule::Permissions->file() ->permissions(isReadable => 1, user => 'nobody') ->in('.'); # Which files can UID 42 *not* read in the current directory? @notreadable = File::Find::Rule::Permissions->file() ->permissions(isReadable => 0, user => 42) ->in('.'); # Find big insecurity badness! @eek = File::Find::Rule::Permissions->permissions( isWriteable => 1, isExecutable => 1, user => 'nobody' )->in('/web'); Requirements: · Perl
File::Find::Rule::Permissions Related Software