On Wed, 24 Oct 2001, Simon Wong wrote: > 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:
You need execute permission bit set to be able to change into a directory. chmod u+x javacook Benno -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug