For me, the fix in comment #2 worked only after I restarted apparmor:
sudo /etc/init.d/apparmor restart
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Permission error saving a file
To manage notifications about this bug go to:
ubuntu-bugs mailing list