lundi 26 janvier 2015

Permission denied in amazon instance

I launched an instance in amazon and successfully ran the following commands:



sudo yum update
wget --no-cookies --header "Cookie: oraclelicense=xxx;" http://ift.tt/1JxSW3v
sudo rpm -i jdk-8u31-linux-x64.rpm
export JAVA_HOME=/usr/java/jdk1.8.0_31


but when i tried installing glassfish 4.1 I got the following permission denied error:



wget -c http://ift.tt/1uWa1Bk

--2015-01-27 06:50:13-- http://dlc- http://ift.tt/1JxSUst
Resolving dlc-cdn.sun.com (dlc-cdn.sun.com)... 23.14.93.72, 23.14.93.57
Connecting to dlc-cdn.sun.com (dlc-cdn.sun.com)|23.14.93.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107743725 (103M) [application/zip]
glassfish-4.1.zip: Permission denied

Cannot write to ‘glassfish-4.1.zip’ (Permission denied).


Can someone please tell me what is causing this problem? Thanks.





Aucun commentaire:

Enregistrer un commentaire