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

Ask a Question related to PERL Modules, Design and Development.

  1. #1

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

    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


    Bengt-Arne Fjellner Guest

  2. Similar Questions and Discussions

    1. read XML file encoding="windows-1256"
      hi i made a simple project reads XML file and it works good when the file is encoded with UTF-8 (the file contains arabic text) but flash can't...
    2. Module to read dar ("disk archive") archives ?
      Hello, does someone know about a perl module to read dar-archives ? I would like to get at the meta-data (what files are present, what is the...
    3. Problem installing a perl module "File exists"
      Hello, i'm trying to install the Date::Simple module, but i have an error: $ tar xvzf Date-Simple-3.01.tar.gz Date-Simple-3.01/...
    4. looking for a module to "read" images
      Hi All, I'm after some suggestions for a module which might enable me to "read" text in images. As an example of what I mean, a lot of websites...
    5. finger output: where does "last time the user read mail" come from?
      Hi, from the man page, it says: o last time the user received mail, and the last time the user read mail In the man page, it doesn't...
  3. #2

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


    "Tom Regner" <regner@dievision.de> skrev i meddelandet
    news:42f376b6$0$28623$4d3ebbfe@news1.pop-hannover.net...
    > 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
    >
    > [url]http://search.cpan.org/~dcantrell/File-Find-Rule-Permissions-1.2/lib/File/Find/Rule/Permissions.pm[/url]
    >
    > which should enable you to solve your problem.
    >
    > regards,
    > Toms
    >
    > --
    > Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover
    > Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99
    > [url]http://www.dievision.de[/url]
    Thanks i saw that module but thought !! FALSELY !! that it couldnt check a
    file (blush)

    Now it works.


    Bengt-Arne Fjellner Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139