Creating a scope project with uppercase characters cause apparmor profile mismatch

Bug #1349586 reported by Michael Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Undecided
Benjamin Zeller

Bug Description

If you create a new Scope project (I tried a networked scope) with uppercase characters, there will be a mismatch at runtime when apparmor tries to compare two values, one with the original case and one that's been forced to all lower case.

For example, I created a new project called "UbuntuCommunity" which has the following denial in dmesg:

[ 948.722591] type=1400 audit(1406575170.213:119): apparmor="DENIED" operation="mknod" parent=2270 profile="com.ubuntu.developer.mhall119.ubuntucommunity_ubuntucommunityscope_0.2" name="/run/user/32011/zmq/priv/com.ubuntu.developer.mhall119.UbuntuCommunity_ubuntucommunityscope" pid=4774 comm="scoperunner" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

The code that produced this is at http://bazaar.launchpad.net/~mhall119/+junk/community-scope/files

Tags: scope-dev
Changed in qtcreator-plugin-ubuntu:
status: New → Fix Committed
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

the fix is landed on the trunk of the project and now staging in the https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/tools-development

Changed in qtcreator-plugin-ubuntu:
assignee: nobody → zbenjamin (zeller-benjamin)
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.