[CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

B00083603 Michael O Brien B00083603 at student.itb.ie
Mon Jun 6 15:44:43 EDT 2016


Hi Roger,

While that got me further down the line, the script failed with


Built target opencv_java
/bin/sh: 1: cannot create /home/michael.obrien/setups/OpenCV/opencv-2.4.13/build/modules/java/test/.build/ant-RELEASE.properties: Permission denied
make[2]: *** [modules/java/test/CMakeFiles/opencv_test_java_properties] Error 2
make[1]: *** [modules/java/test/CMakeFiles/opencv_test_java_properties.dir/all] Error 2
make: *** [all] Error 2




________________________________
From: Roger Leigh <rleigh at codelibre.net>
Sent: 06 June 2016 19:42
To: B00083603 Michael O Brien
Cc: cmake at cmake.org
Subject: Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

On 06/06/2016 16:30, B00083603 Michael O Brien wrote:
 > Is there a way to set things up so that I can streamline the install
across all the vm's and ensure permissions are set correctly on each vm?
> drwx------ 25 myaccount Domain Users 3072 Jun  5 14:47 /home/myaccount/

A simple "chmod 0755 /home/myaccount/" should be sufficient.  If it's
NFS mounted, all the VMs will have the same permissions here.

Regards,
Roger
ITB Email Disclaimer This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160606/70f8aa7d/attachment.html>


More information about the CMake mailing list