On Sat, Mar 05, 2005 at 04:49:22PM -0500, Guest via RT wrote:
Show quoted text>
> This message about WWW-Mechanize was sent to you by guest <> via rt.cpan.org
>
> Full context and any attached attachments can be found at:
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=11769 >
>
> I just installed Mech from cpan on an OS X system. Everything ran smoothly but the install created the WWW folder with "drwx------ 6 root admin" which means that non-root scripts can't use the module. The normal perms for modules are "drwxr-xr-x 3 root admin". Inside the folder Mechanize was created with go+rx but Robot Rules was created without that. A sudo chmod -R 755 WWW fixed it all.
>
> Same problem with HTTP::Request.
>
> Any chance this is something in the Mech packaging? If not how should I debug it?
I don't see anything in the Mech makefile about perms:
http://search.cpan.org/src/PETDANCE/WWW-Mechanize-1.12/Makefile.PL
It sounds to me like there is an issue on your end. To debug it
further:
- Do you have the same problem with other modules?
- Are other OS X users reporting similar problems?
- If you are using 'cpan' or 'cpanplus', try the other one, or try a
manual 'make install'. Same result?
- Are there related bug reports for CPAN.pm or ExtUtils::MakeMaker?
- Inspect the Mech tarball (tar -tzvf foo.tar.gz). How do the perms
inside it look?
Let us know if it continues to look like a Mech issue after more
research.
Mark
--
http://mark.stosberg.com/