[OOTB-hive] OOTB-hive Digest, Vol 16, Issue 1

Mathieu Gavet mathieu.gavet at gmail.com
Mon Oct 12 12:48:58 BST 2015


For information,


I have the same issue with root user.

So i do:

chown -R tomcat ~/alfresco-5.0.d/tomcat

sudo puppet apply --modulepath=modules go.pp

And all is ok



2015-10-12 13:00 GMT+02:00 <ootb-hive-request at xtreamlab.net>:

> Send OOTB-hive mailing list submissions to
>         ootb-hive at xtreamlab.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.xtreamlab.net/mailman/listinfo/ootb-hive
> or, via email, send a message with subject or body 'help' to
>         ootb-hive-request at xtreamlab.net
>
> You can reach the person managing the list at
>         ootb-hive-owner at xtreamlab.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of OOTB-hive digest..."
>
>
> Today's Topics:
>
>    1. Permission denied with new version of the puppet when i not
>       respect the process (launch the puppet with a sudoer user)
>       (Mathieu Gavet)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 12 Oct 2015 10:58:30 +0200
> From: Mathieu Gavet <mathieu.gavet at gmail.com>
> To: ootb-hive at xtreamlab.net
> Subject: [OOTB-hive] Permission denied with new version of the puppet
>         when i not respect the process (launch the puppet with a sudoer
> user)
> Message-ID:
>         <
> CACTeL-pGaFrrivPm4dASd9HDZ9xr5huUxJ3s__Z-gLEyh08Ykw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.xtreamlab.net/pipermail/ootb-hive/attachments/20151012/20f3f9f7/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> OOTB-hive mailing list
> OOTB-hive at xtreamlab.net
> http://www.xtreamlab.net/mailman/listinfo/ootb-hive
>
>
> ------------------------------
>
> End of OOTB-hive Digest, Vol 16, Issue 1
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.xtreamlab.net/pipermail/ootb-hive/attachments/20151012/1afba973/attachment.html>


More information about the OOTB-hive mailing list