Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

Patch for Dreamhost

Journal written by schwern (1528) and posted by brian_d_foy on 2008.03.04 19:57   Printer-friendly
As threatened earlier, I've written up a patch to fix Cwd.pm in perl so it will build in a Dreamhost account. Now you can upgrade to 5.8.8.

The issue is that Perl's own version of abs_path() didn't know how to deal with a parent directory it didn't have read permissions on. On Dreamhost, you can't read /home. The patch will eventually go into PathTools.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Patch for Dreamhost 3 Comments More | Login | Reply /

 Full
 Abbreviated
 Hidden
More | Login | Reply
Keybindings Beta
Q W E
A S D
Loading ... Please wait.
  • Thanks for this. I used to be in a somewhat similar situation a few years back (/home's read permission is turned off) and I remember not being able to use FindBin (which uses abs_path() too).

    Btw, what's the point of blocking read access to /home. So a hos
  • is extremely uncool; please, add your copyright notice instead of substituting the original ones... unless you rewrote the whole thing from scratch...
    • Re: (Score:2)

      is extremely uncool; please, add your copyright notice instead of substituting the original ones... unless you rewrote the whole thing from scratch...
      I believe you're referring to this?

      - * Copyright (c) 1994
      - *    The Regents of the University of California.  All rights reserved.
      - *
      - * This code is derived from software contributed to Berkeley by
      - * Jan-Simon Pendry.
      + * Copyright (c) 20