in reply to Re: Why permission required while installing certain CPAN module locally?
in thread Why permission required while installing certain CPAN module locally?

Dear BUU,
I think I've got the permission correct already:
drwxrwxrwx 4 myname grad03 4096 Sep 28 11:47 sources
But I still can't get it installed.

Regards,
Edward
  • Comment on Re^2: Why permission required while installing certain CPAN module locally?
  • Download Code

Replies are listed 'Best First'.
Re^3: Why permission required while installing certain CPAN module locally?
by Perl Mouse (Chaplain) on Nov 02, 2005 at 10:34 UTC
    777 permission? Eeew. Anyway, even 777 permission might not be enough - if the filesystem is mounted read-only for instance, or if you have some weird ACL setting.

    What happens if you try to do things by hand?

    Perl --((8:>*
Re^3: Why permission required while installing certain CPAN module locally?
by spiritway (Vicar) on Nov 02, 2005 at 07:45 UTC

    I've run into this on occasion, when the system thought the files belonged to someone other than me (as user). I'm wondering whether that may be what's giving you trouble? Who "owns" the files you're trying to write?

      I think it's mine as it shows in my snippet above. And moreover I tried
      $ stat -c "%U" sources or $ perl -e'print +(getpwuid((stat)[ 4]))[0],$/ for @ARGV'
      prints myname.

      And with this:
      $ perl -e'print +(stat)[4],$/ for @ARGV' sources or $ stat -c "%u" sources
      Both gives same number "42828".

      Regards,
      Edward