On 2016-06-06 16:39, B00083603 Michael O Brien wrote:
Hi Roger,

When I run sudo -s I get bash:  /home/myaccount/ : Permission denied
but I get a root prompt on the terminal. I get a permission denied
when I try to cd into anything deeper than /home/myaccount/

Yes the /home/ is an NFS mount as its common across all the vm's I'm
assigned to but  there isn't an etc/exports file
In /proc/mount the mount details don't mention root_squash just that
its nfs rw relatime vers3

The root squashing is in the exports on the server side. This maps uid 0 to nobody, which is why the access is denied. One solution: make all the files readable by other and the directories are readable and executable by other. However, since this is generally the default it's not clear why this is happening. You didn't show us the permissions as I asked, so it's not possible to do more than speculate. What does
this show (with any typos fixed)?

ls -ld / /home /home/michael.obrien /home/michael.obrien/setups /home/michael.obrien/setups/OpenCV /home/michael.obrien/setups/OpenCV/opencv-2.4.12 /home/michael.obrien/setups/OpenCV/opencv-2.4.12/build

I'll hazard a guess that your homedir is 0700 or 0750; if so it'll need
to be 0755 (so that any user can access it, including nobody); likewise
for any other directories which you want root to read.


Regards,
Roger
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to