Click here to get back home

Is there a module that can check if user "foo" may read a file?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Is there a module that can check if user "foo" may read a file? Bengt-Arne Fjellner 08-05-2005
Get Chitika Premium
Posted by Bengt-Arne Fjellner on August 5, 2005, 3:59 pm
Please log in for more thread options


Hi i want to check a number of file against different user uid:s and see if
they can read/write execute that file.
I have searched on cpan but it looks like most modules includes my search
words.
So please any pointers welcome

/Bengt-Arne Fjellner




Posted by Bengt-Arne Fjellner on August 5, 2005, 5:04 pm
Please log in for more thread options



> Bengt-Arne Fjellner wrote:
>
>> Hi i want to check a number of file against different user uid:s and see
>> if they can read/write execute that file.
>> I have searched on cpan but it looks like most modules includes my search
>> words.
>> So please any pointers welcome
> searching CPAN for "File Permissions"
> got the result
>
> File::Find::Rule::Permissions
>
>
http://search.cpan.org/~dcantrell/File-Find-Rule-Permissions-1.2/lib/File/Find/Rule/Permissions.pm
>
> which should enable you to solve your problem.
>
> regards,
> Toms
>
> --
> Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover
> Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99
> http://www.dievision.de

Thanks i saw that module but thought !! FALSELY !! that it couldnt check a
file (blush)

Now it works.




Similar ThreadsPosted
Read user log from a remote host July 26, 2006, 5:14 am
How to read an IFO file ? February 25, 2006, 3:12 pm
[RFC] File::Rotate - read from rotating logfiles November 29, 2004, 7:29 am
DBD:mysql doesn't read mysql option file /etc/my.cnf file January 27, 2005, 11:19 pm
[RFC] File::Rotate::Syslog - read from rotating syslog files November 29, 2004, 8:36 am
How to get service logon user January 31, 2006, 9:36 am
ANNOUNCE: User::Utmp 1.8 March 26, 2006, 8:13 pm
Perl DBI/DBD MySQL User Authentication Error June 10, 2006, 2:12 pm
Module to read dar ("disk archive") archives ? May 11, 2005, 3:50 pm
Does Win32::Perms $PermsObj->Remove( $User ) Work? June 22, 2005, 1:23 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap