Comment 0 for bug 1855271

Revision history for this message
Balint Reczey (rbalint) wrote : Please make update-notifier's /etc/update-motd.d snippets runnable by regular users

[Impact]

 * /etc/update-motd.d snippets throw errors when a nomal user runs them.
 * This prevents showing MOTD when the user is dropped to a regular user's shell in WSL.

[Test Case]

 * Run update-motd's autopkgtest and observe update-notifier's scripts not throwing errors.

[Regression Potential]

 * The fixes are fairly simple, but to ensure no breakage the scripts are also run as root.