Gosh, I am being productive!

drhyde on 2003-06-29T11:41:34

Two modules in one week, after a hiatus of many months! Today I uploaded File::Find::Rule::Permissions, a File::Find::Rule extension which lets you check whether an arbitrary user has permission to read/write/execute files. During testing (of which more later) I used one of the examples from the documentation to find that - oops! - there was a file on my web site which the 'nobody' user could both write and execute.

As for testing - well, writing a comperhensive test suite for this module would be an absolute bitch. It would require root access, and would need to create files belonging to all sorts of different users and groups, with all sorts of permissions. So I chickened out.