John Griffin wrote:
'Save link As...'. I get 'Error opening xyz.tar.gz: Permission denied'. This is a recent occurence with SuSE 7.1 and Netscape 4.9 but I also have seen it with other versions of SuSE and Netscape.
On other links when I left click on the link, Netscape downloads the file then thinks about it for a second or two. Then up pops a Netscape window stating that '/tmp/xyz.tar not in gzip format'.
I have gone through the Netscape -> Edit -> Preferences -> Navigator -> Applications looking for any mime definition for .gz. But none show up. I even added my own Application to 'Save to Disk' and 'Unknown:PromptUser' when .gz files are passed in. No Luck.
This is a widespread problem in downloading tar.gz files. The problem is that linux is setup to automatically uncompress "gz" files. I think they did this to help download speeds and it also allows you to save compressed docs on your disk, and have them opened "auto-magically" for you. Editing the Mime types in Netscape usually won't help. When the file comes in, and when it says "not in gzip format", it usually means it's already been gunzipped and it is a plain tar file (even though it's still named tar.gz or tgz). So just "tar -xvf" the file Another problem is left-clicking vs. right-clicking on the link. It is always safest to right-click and choose "save link as". If you just left-click on the link, if the mime-type isn't properly set to download on the server side, Netscape will try to open it as a gzipped file. Then you will see the strange binary data opening on your screen, and you hit "stop". Then a cache problem starts, because when you do go to "right-click" and save as, it pulls the first few bytes out of cache, and you get a download, but it is corrupted. Then you must clear out Netscapes cache before trying to download again, or "save as" and rename it to a different name. This problem is hard to solve, because it requires all download links on the mis-setup servers to properly declare the link is a download. Usually people just make a link to the file, then if the server sends out the right header, it works; if not, the problem occurs. So.......always "right click and choose save as"; then if the file complains of not being in gzip format, just try to untar it. (Of course, the shift-left-click should work also) If you do goof up and see the binary data flying across the screen, remember to save the file under a new name on the second attempt, OR flush Netscape's cache. Finally, every now and then you get a REAL corrupted download. In that case... download again. :-)