Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatibility with apparmor #242

Open
ghost opened this issue Dec 16, 2018 · 3 comments
Open

incompatibility with apparmor #242

ghost opened this issue Dec 16, 2018 · 3 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Dec 16, 2018

deepinscreenshot_select-area_20181216231349
Here is my zshrc:
deepinscreenshot_select-area_20181216231628
What should I do?

@rkitover
Copy link
Owner

Try:

chmod +x /home/nobelheaven/.vim/plugged/vimpager

@Benjamin-Connelly
Copy link

Benjamin-Connelly commented Nov 2, 2019

I had two issues.

  1. AppArmor - I saw lines in /var/log/audit/audit.log
    type=AVC msg=audit(1572718868.558:592): apparmor="DENIED" operation="ptrace" profile="/usr/bin/man" pid=31610 comm="ps" requested_mask="read" denied_mask="read" peer="unconfined"

Fixed this by installing apparmor-utils and the running aa-logprof and approving man.

  1. I had only linked to ~/.vim/bundle/vimpager which is a directory and I found that out by running less which told me ~//vim/bundle/vimpager: Is a directory.

Fix was correcting this in my ~/.bashrc

export PAGER=$HOME/.vim/bundle/vimpager/vimpager
alias less=$PAGER
alias zless=$PAGER```

@rkitover
Copy link
Owner

rkitover commented Nov 5, 2019

@Benjamin-Connelly thanks for the report, the apparmor issue will require some work.

@rkitover rkitover self-assigned this Nov 5, 2019
@rkitover rkitover added the bug label Nov 5, 2019
@rkitover rkitover changed the title Permission deny! incompatibility with apparmor Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants