[Bug 1215480] Re: wrong permissions of click packages due to adb shell umask of 0000
Launchpad Bug Tracker
1215480 at bugs.launchpad.net
Wed Sep 4 17:14:12 UTC 2013
This bug was fixed in the package click - 0.4.3
---------------
click (0.4.3) saucy; urgency=low
* Add support for multiple installation root directories, configured in
/etc/click/databases/. Define /usr/share/click/preinstalled,
/custom/click, and /opt/click.ubuntu.com by default.
* Add --all-users option to "click install" and "click register": this
registers the installed package for a special pseudo-user "@all", making
it visible to all users.
* Add "click hook install-user", which runs all user-level hooks for all
packages for a given user. This is useful at session startup to catch
up with packages that may have been preinstalled and registered for all
users.
* Run "click hook install-user" on session startup from an Upstart user
job.
* Avoid calling "click desktophook" if
/usr/share/click/hooks/upstart-app-launch-desktop.hook exists.
* Force umask to a sane value when dropping privileges (022 for clickpkg,
current-umask | 002 for other users; LP: #1215480).
* Use aa-exec-click rather than aa-exec in .desktop files generated by
"click desktophook" (LP: #1197047).
-- Colin Watson <cjwatson at ubuntu.com> Wed, 04 Sep 2013 17:01:58 +0100
** Changed in: click (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1215480
Title:
wrong permissions of click packages due to adb shell umask of 0000
Status in “click” package in Ubuntu:
Fix Released
Bug description:
Hi,
Starting a root shell with adb shell gets me an umask of 0000 which causes side effects; e.g. when installing a click package with click install, it wont have the same permissions as others installed via the scope:
drwxrwxrwx 3 clickpkg clickpkg 4096 Aug 22 14:43 ar.com.beuno.hello-world
drwxrwxrwx 3 clickpkg clickpkg 4096 Aug 22 14:58 com.ubuntu.developer.mhall119.xda-developers-app
drwxr-xr-x 3 clickpkg clickpkg 4096 Aug 19 13:21 com.ubuntu.dropping-letters
drwxr-xr-x 3 clickpkg clickpkg 4096 Aug 19 13:21 com.ubuntu.stock-ticker-mobile
drwxr-xr-x 3 clickpkg clickpkg 4096 Aug 19 13:21 com.ubuntu.sudoku
I believe we should fix click to set permissions of click package dirs
and adb to set umask correctly.
Cheers,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1215480/+subscriptions
More information about the foundations-bugs
mailing list