On Ubuntu 16.04, I installed cloudcompare using snap following:

sudo snap install cloudcompare

However, I get the following error when trying to launch it:

$ sudo cloudcompare.CloudCompare 
cannot perform operation: mount --rbind /home /tmp/snap.rootfs_AUR1hM//home: Permission denied

How do I fix this?

share|improve this question
    
Any chance this is in a lxd container? – Kyle Dec 1 '17 at 17:03
    
No, I am not running this inside a container. – tejaskhot Dec 2 '17 at 17:58

Try running it without sudo? I tried running with sudo and got a different error related to permission, but running it without works for me.

EDIT:

The answer above is wrong. According to this bug, this will happen when /home is a symlink to a different directory.

To fix this, you need your /home directory to be a real directory. You can run the following command to remove the symlink and create an actual directory in /home.

sudo rm -R /home && sudo mkdir -p /home/${whoami} && sudo chmod ugo+rwx /home/$whoami

Alternatively, you can create a different user to run cloudcompare if you do not wish to modify your system.

share|improve this answer
    
Tried this, but no luck. – tejaskhot Dec 2 '17 at 17:58
    
Hi, I've modified the answer, hope it helps. – daniellim Dec 5 '17 at 4:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.