[OOTB-hive] Permission denied with new version of the puppet when i not respect the process (launch the puppet with a sudoer user)

Martin Cosgrave martin at bettercode.com
Mon Oct 12 12:59:09 BST 2015


Hi mathieu


I see you have changed the install path from the defaults. It may be that 
we have not properly tested that for some time. Thanks for the report.


On 12 October 2015 10:58:58 Mathieu Gavet <mathieu.gavet at gmail.com> wrote:

> Hi,
> I have a question on the new version of the puppet.
> With the old version (and with Ubuntu 14.04.3 LTS), i can launch the puppet
> with a sudoer user.
> Now with the new version, if i launch the puppet with a sudoer user i have
> the error below.
>
> This is an issue or it is me who not respect the process (i not launch
> puppet with root user) ?
>
> Best regards,
> Mathieu Gavet
>
>
> admin01 at VMSIEGE120:~/install_alfresco$ sudo ./install.sh
> ...
>  Notice: /Stage[main]/Alfresco::Install/Exec[copy tomcat to
> /home/admin01/alfresco-5.0.d/tomcat]/returns: mkdir: cannot create
> directory ‘/home/admin01/alfresco-5.0.d’: Permission denied
> Error: mkdir -p /home/admin01/alfresco-5.0.d/tomcat && cp -r
> /home/admin01/download-alfresco/apache-tomcat-7.0.55/*
> /home/admin01/alfresco-5.0.d/tomcat && chown -R tomcat
> /home/admin01/alfresco-5.0.d/tomcat returned 1 instead of one of [0]
> Error: /Stage[main]/Alfresco::Install/Exec[copy tomcat to
> /home/admin01/alfresco-5.0.d/tomcat]/returns: change from notrun to 0
> failed: mkdir -p /home/admin01/alfresco-5.0.d/tomcat && cp -r
> /home/admin01/download-alfresco/apache-tomcat-7.0.55/*
> /home/admin01/alfresco-5.0.d/tomcat && chown -R tomcat
> /home/admin01/alfresco-5.0.d/tomcat returned 1 instead of one of [0]
>
> With old version
> admin01 at VMSIEGE121:~$  ls -l
> drwxrwxr-x  9 tomcat  admin01 4096 sept. 24 14:32 alfresco-5.0.d
>
> With new version
> admin01 at VMSIEGE120:~$ ls -l
> drwxr-xr-x  8 tomcat  root    4096 oct.  12 10:02 alfresco-5.0.d
>
>
>
> ----------
> _______________________________________________
> OOTB-hive mailing list
> OOTB-hive at xtreamlab.net
> http://www.xtreamlab.net/mailman/listinfo/ootb-hive
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.xtreamlab.net/pipermail/ootb-hive/attachments/20151012/b4710bb8/attachment.html>


More information about the OOTB-hive mailing list