regular users can't run tuptime (regression, autopkgtest failure)
Bug #1918848 reported by
Dan Bungert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tuptime (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Due to permissions on /var/lib/tuptime as created by recent adduser, users which need the world permission bits to read that directory will be unable to run tuptime.
The error takes the form of:
ERROR:Checking DB file "/var/lib/
Changed in tuptime (Ubuntu): | |
assignee: | nobody → Dan Bungert (dbungert) |
tags: | added: fr-1207 |
Changed in tuptime (Ubuntu): | |
status: | New → In Progress |
tags: | added: patch |
Changed in tuptime (Ubuntu): | |
assignee: | Dan Bungert (dbungert) → nobody |
Changed in tuptime (Ubuntu): | |
status: | In Progress → Confirmed |
tags: | added: update-excuse |
Changed in tuptime (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: regression-release |
To post a comment you must log in.
tuptime creates the directory for its default db location using adduser. The adduser changes to DIR_MODE=0750 result in the directory not having world readable mode, and then normal users are unable to read the db inside.
Attached patch does a chmod 755.