[jbosstools-issues] [JBoss JIRA] (JBIDE-13217) Execute permissions modified in new openshift projects causing action hoooks to not execute

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Nov 30 16:32:21 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738656#comment-12738656 ] 

Andre Dietisheim commented on JBIDE-13217:
------------------------------------------

so on linux the x-perm is missing when the openshift application is cloned to a local temp-directory:

{code}
[adietish at adietish-thinkpad action_hooks]$ cd /tmp/1354310977163
[adietish at adietish-thinkpad 1354310977163]$ ls
deployments  pom.xml  README  src
[adietish at adietish-thinkpad 1354310977163]$ cd .openshift/action_hooks/
[adietish at adietish-thinkpad action_hooks]$ ls -l
total 36
-rwxrw-r-- 1 adietish adietish 265 Nov 30 22:29 build
-rwxrw-r-- 1 adietish adietish 249 Nov 30 22:29 deploy
-rwxrw-r-- 1 adietish adietish 186 Nov 30 22:29 post_deploy
-rwxrw-r-- 1 adietish adietish 645 Nov 30 22:29 post_start_jbossas-7
-rwxrw-r-- 1 adietish adietish 645 Nov 30 22:29 post_stop_jbossas-7
-rwxrw-r-- 1 adietish adietish 257 Nov 30 22:29 pre_build
-rwxrw-r-- 1 adietish adietish 272 Nov 30 22:29 pre_build_jbossas-7
-rwxrw-r-- 1 adietish adietish 645 Nov 30 22:29 pre_start_jbossas-7
-rwxrw-r-- 1 adietish adietish 645 Nov 30 22:29 pre_stop_jbossas-7
[adietish at adietish-thinkpad action_hooks]$ git log
commit 944f22d7c074ff69c4198a46fae06fe08bd452a0
Author: root <root at ex-std-node39.prod.rhcloud.com>
Date:   Fri Nov 30 16:25:13 2012 -0500

    Creating template
[adietish at adietish-thinkpad action_hooks]$ 
{code}
                
> Execute permissions modified in new openshift projects causing action hoooks to not execute
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13217
>                 URL: https://issues.jboss.org/browse/JBIDE-13217
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.CR1
>         Environment: Linux, Mac (NOT Windows)
>            Reporter: Max Rydahl Andersen
>            Assignee: Andre Dietisheim
>              Labels: respin-c
>         Attachments: hook-premissions-windows.jpg
>
>
> 1. EXEC: Create and import new app
> 2. ASSERT: execute permissions on action_hooks get resetted.
> {code}
> diff --git a/.openshift/action_hooks/build b/.openshift/action_hooks/build
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_deploy b/.openshift/action_hooks/post_deploy
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_start_jbosseap-6.0 b/.openshift/action_hooks/post_start_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_stop_jbosseap-6.0 b/.openshift/action_hooks/post_stop_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_build b/.openshift/action_hooks/pre_build
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_build_jbosseap-6.0 b/.openshift/action_hooks/pre_build_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_start_jbosseap-6.0 b/.openshift/action_hooks/pre_start_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_stop_jbosseap-6.0 b/.openshift/action_hooks/pre_stop_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/cron/weekly/chronograph b/.openshift/cron/weekly/chronograph
> {code}
> 3. EXEC: publish the application to OpenShift
> Result:
> {code}
> /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied
> Failed to start jbossas-7
> {code}
> ...but the server is started.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list