What does a 'ls -l /jenkins/tools/JDK/jdk-1.6.24/jdk.sh' say?

It should report the executable bits on i.e.:

-rwxr-xr-x 1 tomcat6 tomcat6

Replace tomcat6 with the respective group and user of your environment.

regards

        Dirk

On 10.11.2012 17:22, Fábio Uechi wrote:
> Hi,
> 
> I'm running Jenkins as a daemon on Amazon Linux (standalone on winstone). 
> I changed JENKINS_HOME (/etc/sysconfig/jenkins) to point to "*/jenkins"*
> instead of "*/var/lib/jenkins".*
> The "*/jenkins*" directory is a new mount based on an EBS volume
> attached (/dev/sda1) to the EC2 instance.
> Everything seems to be working fine except for JDK auto installations.
> When Jenkins tries to execute the downloaded jdk.sh (i.e.
>  /jenkins/tools/JDK/jdk-1.6.24/jdk.sh ) I'm getting a "*permission
> denied*" error.
> Other installers such as Mavens and Ants are working normally.
> 
> This is probably not "Jenkins fault" but I'd like to know if someone
> have seen that before.
> When I change JENKINS_HOME back to the default everything works.
> 
> Any help is appreciated
> Thanks in advance
> 
> Fábio
> 

Reply via email to