Jump to content
WIC Reset Program and Chipless Firmware
Sign in to follow this  
Hydrian

App Armor blocks USB

Recommended Posts

One issue I've noticed with wicreset in more recent versions of Ubuntu (and derivatives) as the App Armor in enforcement is enabled by default. With App Armor enabled, wicreset will give a 'permission denied' error when wicreset tries to access the /dev/usb/lp* device files even as an allowed 'lp' group member or as the root user. The workaround this to configure app-armor not enforce app-armor with wicreset. Here is a way to easily do it.

#> sudo apt install apparmor-utils
#> sudo aa-complain /usr/bin/wicreset

Then relaunch wicreset.

Support,

Please update the deb install package to include proper exceptions for app-armor so this doesn't need to done in such a brute force way. 

Share this post


Link to post
Share on other sites

Good day. Thanks for bringing attention to this issue, next release will contain armor profile, meanwhile I will update installation instructions with this information.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...