I've downloaded the Linux 64 bit 2.1.0 version of VAPOR, and am having problems gunzipping the .gz file. I've changed permissions in the directory and also on the file itself to allow anyone to r/w/x the file, and even as user root, I am still getting permission denied when trying to gunzip it.
I am wondering if there is something either wrong with the file itself...or with the way I'm downloading/transferring the file to my pc.
Are there permissions embedded within the tar file directories that might inhibit me from gunzipping or untarring the file? (Just guessing)
Also....I used 'wget' to download the .gz file to my linux pc. I'm assuming this is okay.
Thanks,
Brian
Hi Brian,
That's a strange one. Just as a sanity check have you tried gunzipping some other file in the current working directory? Could you post the exact command invocation and error message that you are getting? There should not be anything wrong with using wget, and the contents of the file should not affect gunzip to my knowledge.
Well...I just tried: wget --secure-protocol=TLSv1 https://www.vapor.ucar.edu/sites/default/files/vapor-2.1.0-Linux_x86_64....
and I WAS able to gunzip the vapor-2.1.0-Linux_x86_64.tar.gz file to a .tar file. However, when I went to untar the file with: tar xvf vapor-2.1.0-Linux_x86_64.tar I got these errors:
tar: vapor-2.1.0-Linux_x86_64.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
I was able to gunzip and untar a different file in the same directory...although these .gz files were there before, so I'll try to gunzip a newer file. Also...I did try the 2.0 version of VAPOR, and got the same permission errors.
Brian, wget seems to work just fine for me. I'd suggest making a new directory, doing a 'chmod 755' to it, cd'ing to it, and then untarring the file inside of that directory. I'd also verify that you can untar some other tar file in the same directory. You can generate your own tar file with:
% tar cf myfile.tar file1 file2 file3...
Also, I'm assuming you're doing this on a Linux system. Is that correct?
Well, I'm not sure what's going on. I am on a Linux system running Red Hat Enterprise 5.8. I made a new directory with 775 permissions....downloaded the .gz file with wget to that directory....and was able to gunzip the file to a .tar file. But when trying to untar the file with: tar xvf vapor-2.1.0-Linux_x86.tar I still get the permission errors.
Also...I copied a bunch of text files to that same directory and tried to tar everything up (including the vapor.tar file), and all the files get tarred up except the vapor.tar file. I get that same permissions error.
I don't get it.
I was able to unzip/untar the files in a windows pc...and then scp them to the Linux machine I want to use. Everything appears to have set up good...but now when I run vaporgui I get a Segmentation Fault.
I am thinking this is related to the graphics capabilities of the machine, but not sure.
Can you post the output of the commands:
ls -l vapor-2.1.0-Linux_x86.tar
tar vtf vapor-2.1.0-Linux_x86.tar | head
tar xvf vapor-2.1.0-Linux_x86.tar | head
cksum vapor-2.1.0-Linux_x86.tar
Are there permissions embedded within the tar file directories that might inhibit me from gunzipping or untarring the file? (Just guessing) Also....I used 'wget' to download the .gz file to my linux pc. I'm assuming this is okay. Thanks, Brian
<a href="http://www.maxlanyards.com">Custom Lanyards</a>
There should not be any permissions that would prevent you from untarring the file, nor should 'wget' pose a problem. However, make sure you have write permission in the directory that you are attempting to untar the image into. If that doesn't work please post the exact command syntaxt that you are using, the version of Linux, and which tar command (running the command 'tar --version' will work for most Linux systems).