I have downloaded the source code for Java Cookbook from O'Reilly
(fabulous book!) but am having strange things happen when I UNZIP the
source.

After unzipping two directories are created in the current directory one
called META-INF and the "javacook".

When I 'ls -la' it says that I am the owner and that the group is
correct.  Also the permissions are set OK...


    lonewolf: /usr/local/java/books
    $ lsa
    total 1528
       4 drwxr-sr-x    4 sjw      staff        4096 Oct 24 23:23 .
       4 drwxr-sr-x    4 sjw      staff        4096 Oct 24 22:57 ..
       4 drw-r--r--    2 sjw      staff        4096 Oct 13 19:22
    META-INF
       4 drw-r--r--   43 sjw      staff        4096 Oct 13 19:21
    javacook
    1512 -rw-rw-r--    1 sjw      staff     1542109 Oct 24 23:14
    javacooksrc.zip


But when I try and cd into either of the directories I get an error:

    lonewolf: /usr/local/java/books
    $ cd javacook
    bash: cd: javacook: Permission denied
    
    lonewolf: /usr/local/java/books
    $ 

As root I can go into the directories and the contents are all there. 
Also, when I use tab completion it lists the files too.

How do I get into that directory?

Puzzled &-(


-- 
*************************
* Simon Wong            *
*                       *
* <[EMAIL PROTECTED]> *
*                       *
*************************


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to