I just installed a program with the package manager snap, freshly installed on my linux Mint Cinnamon 18 computer.

I installed the app with the following:

sudo snap install cloudcompare

I logged out and logged back in my machine to refresh the path. The program is still not launching while icons and path exist now. Here is how I launch the program from the terminal:

cloudcompare.CloudCompare

which returns:

snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

Any idea on how to prevent this refusal?

share|improve this question

closed as off-topic by Elder Geek, user.dz, karel, Zanna, 2707974 Apr 21 '17 at 6:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Elder Geek, user.dz, karel, Zanna, 2707974
If this question can be reworded to fit the rules in the help center, please edit the question.

    
What version of snap packages do you have installed? I have the following and it works. $ snap version snap 2.23 snapd 2.23 series 16 linuxmint 18.1 kernel 4.4.0-53-generic – popey Mar 3 '17 at 8:29
    
snap --version snap 2.22.7 snapd 2.22.7 series 16 linuxmint 18.1 kernel 4.4.0-53-generic I have reinstalled snapd, and the application cloud compare. I now obtain a different error: cloudcompare.CloudCompare cannot change profile for the next exec call: No such file or directory The application developper are mentioning that it might be related to snap and mint. cloudcompare.org/forum/… – Simon Mar 3 '17 at 10:16
    
Like I said, I tested on Mint 18.1, so not sure what is wrong there. This could be a bug in snapd. I'd be inclined to file it at bugs.launchpad.net/ubuntu/+source/snapd/+bugs – popey Mar 15 '17 at 23:06
    
sudo apt purge snapd snap-confine && sudo apt install -y snapd

has fixed the problem for me

share|improve this answer
    
@leaf4good Thanks for the answer. Following your recomendation, I now have installed snap version 2.22.6 and snapd 2.22.6. and cannot even install a version of the desired package as I get this error: – Simon Apr 20 '17 at 10:22
    
<error: cannot perform the following tasks: - Setup snap "core" (1577) security profiles (skipping security profiles setup for snap "cloudcompare" when handling snap "core": no state entry for key) - Setup snap "core" (1577) security profiles (cannot setup apparmor for snap "core": cannot unload apparmor profile "snap.core.hook.configure": cannot unload apparmor profile: exit status 1 apparmor_parser output: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning: unable to find a suitable fs in /proc/mounts, is it mounted?> – Simon Apr 20 '17 at 10:29
    
The apparmor package is up to date, so I am quite confused on what is happening. Thanks – Simon Apr 20 '17 at 10:31

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