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

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


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.html>


More information about the OOTB-hive mailing list