you must create it with the right permissions to begin with. Else you have race condition where a unprivileged user could write to the file before the permissions are changed.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909189 Title: Request for new upstream version 1.2 upgrade. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wakeup/+bug/909189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs