On Dec 30, 9:50 am, shawnhco...@gmail.com (Shawn H Corey) wrote:
> dharmashankar subramanian wrote:
> > Hi Shawn,
> > It appears to me that the directory has both read, as well as execute
> > permissions (for me).
>
> > See below, the output of 'ls -al' inside the directory.
>
> > $ ls -al
> > total 28
> > drwxr-s--x  3 shankar shankar 2048 2005-02-14 11:24 .
> > drwxr-s--x  8 shankar shankar 2048 2009-12-29 13:11 ..
> > -rw-r-----  1 shankar shankar 8355 2001-08-09 03:46 Common.pm
> > drwxr-s--x  2 shankar shankar 2048 2005-02-14 11:24 ExtUtils
> > -rw-r-----  1 shankar shankar 1001 2001-08-09 04:00 IO_Lines.t
> > -rw-r-----  1 shankar shankar 1122 2001-08-09 03:42 IO_Scalar.t
> > -rw-r-----  1 shankar shankar 1031 2001-08-09 04:00 IO_ScalarArray.t
> > -rw-r-----  1 shankar shankar 1026 1998-03-27 02:31 IO_WrapTie.t
> > -rw-r-----  1 shankar shankar 1168 2001-08-07 03:15 simple.t
> > -rw-r-----  1 shankar shankar  942 2001-08-07 02:02 two.t
>
> > Any clue why?
>
> > Thanks,
> > Shankar
>
> > On Wed, Dec 30, 2009 at 9:23 AM, Shawn H Corey <shawnhco...@gmail.com
> > <mailto:shawnhco...@gmail.com>> wrote:
>
> >     Shankar wrote:
> >     > 1. perl Makefile.PL
> >     > 2. make
> >     > 3. make test
> >     > 4. make install (This fails, I think, because I don't have any root or
> >     > super user permissions to make a site-wide install. Is that correct?
>
> >     > Steps 1 and 2 succeeded.
> >     > Step 3 in each of the modules that I attempted to install on my home
> >     > directory, gives an error that seems to say none of the *.t files are
> >     > readable.
>
> >     Is the t/ directory executable?
>
> >     UNIX has a quirk where a directory must be readable and executable to
> >     gain access to its files.  If a directory is readable but not
> >     executable, you can read the names of the files but you can't access
> >     their i-nodes.  That means, you can't access their contents.  You can
> >     list the names with `ls` but trying to access their i-nodes fails, like
> >     with `ls -l`.
>
> The above listing is not the same as the one in the OP.  Can you get a
> listing for one of the test files, say t/Aliases.t ?
>
> BTW, use `Reply all` to reply to the sender and the list.  :)
>
> --
> Just my 0.00000002 million dollars worth,
>   Shawn
>
> Programming is as much about organization and communication
> as it is about coding.
>
> I like Perl; it's the only language where you can bless your
> thingy.

Hi,
Sorry about that Shawn.
I should have hit Reply All.

Here goes the listing for this specific example from the OP.
(The one I sent you was a similar listing for another manually
installed module).
The permissions show as 640 for all the *.t files that the test script
reports as "not readable".

Also, as per reply to Shlomi, I ran umask in the directory, and it
returned 22.
'more' also works as expected, and displays contents of the file.


$ ls -al
total 464
drwxr-s--x   2 shankar shankar  2048 2009-11-26 04:25 .
drwxr-s--x  16 shankar shankar  2048 2009-12-29 12:49 ..
-rw-r-----   1 shankar shankar  5316 2009-09-07 10:57 Aliases.t
-rw-r-----   1 shankar shankar  3087 2009-11-16 11:44 CJKT.t
-rw-r-----   1 shankar shankar  4702 2009-09-07 10:57 Encode.t
-rw-r-----   1 shankar shankar  1004 2009-11-26 04:24 Encoder.t
-rw-r-----   1 shankar shankar   416 2009-11-26 04:24 Mod_EUCJP.pm
-rw-r-----   1 shankar shankar  4762 2009-11-26 04:24 Unicode.t
-rw-r-----   1 shankar shankar  4086 2009-09-07 10:57 at-cn.t
-rw-r-----   1 shankar shankar  2606 2009-09-07 10:57 at-tw.t
-rw-r-----   1 shankar shankar 32104 2009-09-07 10:57 big5-eten.enc
-rw-r-----   1 shankar shankar 45868 2009-09-07 10:57 big5-eten.utf
-rw-r-----   1 shankar shankar 42530 2009-09-07 10:57 big5-hkscs.enc
-rw-r-----   1 shankar shankar 60690 2009-09-07 10:57 big5-hkscs.utf
-rw-r-----   1 shankar shankar   994 2009-11-26 04:24 enc_data.t
-rw-r-----   1 shankar shankar  2101 2009-11-26 04:24 enc_eucjp.t
-rw-r-----   1 shankar shankar    24 2009-09-07 10:57 enc_module.enc
-rw-r-----   1 shankar shankar  1746 2009-11-26 04:24 enc_module.t
-rw-r-----   1 shankar shankar  1919 2009-11-26 04:24 enc_utf8.t
-rw-r-----   1 shankar shankar  5235 2009-09-07 10:57 encoding.t
-rw-r-----   1 shankar shankar  5197 2009-11-26 03:52 fallback.t
-rw-r-----   1 shankar shankar   357 2009-11-26 04:24 from_to.t
-rw-r-----   1 shankar shankar 17367 2009-09-07 10:57 gb2312.enc
-rw-r-----   1 shankar shankar 24663 2009-09-07 10:57 gb2312.utf
-rw-r-----   1 shankar shankar   820 2009-09-07 10:57 grow.t
-rw-r-----   1 shankar shankar  3461 2009-09-07 10:57 gsm0338.t
-rw-r-----   1 shankar shankar  3461 2009-11-16 11:44 guess.t
-rw-r-----   1 shankar shankar   337 2009-09-07 10:57 jis7-fallback.t
-rw-r-----   1 shankar shankar   145 2009-09-07 10:57 jisx0201.enc
-rw-r-----   1 shankar shankar   208 2009-09-07 10:57 jisx0201.utf
-rw-r-----   1 shankar shankar 16145 2009-09-07 10:57 jisx0208.enc
-rw-r-----   1 shankar shankar 22899 2009-09-07 10:57 jisx0208.utf
-rw-r-----   1 shankar shankar 20332 2009-09-07 10:57 jisx0212.enc
-rw-r-----   1 shankar shankar 20069 2009-09-07 10:57 jisx0212.utf
-rw-r-----   1 shankar shankar  2670 2009-11-26 04:24 jperl.t
-rw-r-----   1 shankar shankar 19173 2009-09-07 10:57 ksc5601.enc
-rw-r-----   1 shankar shankar 27228 2009-09-07 10:57 ksc5601.utf
-rw-r-----   1 shankar shankar  4585 2009-11-26 04:24 mime-header.t
-rw-r-----   1 shankar shankar   836 2009-11-26 04:24 mime-name.t
-rw-r-----   1 shankar shankar  1043 2009-09-07 10:57
mime_header_iso2022jp.t
-rw-r-----   1 shankar shankar  4944 2009-11-16 11:44 perlio.t
-rw-r-----   1 shankar shankar  2623 2009-11-26 04:24 piconv.t
-rw-r-----   1 shankar shankar  1733 2009-11-26 04:24 rt.pl
-rw-r-----   1 shankar shankar  1858 2009-09-07 10:57 unibench.pl
-rw-r-----   1 shankar shankar  2530 2009-09-07 10:57 utf8strict.t





--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to