unminimize script does not ensure you're running as root

Bug #1759883 reported by Dan Watkins
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If you unthinkingly run it as a regular user, you get an oblique error message:

$ unminimize
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

This script restores the content and packages that are found on a default
Ubuntu server system.

Reinstallation of packages may fail due to changes to the system
configuration, the presence of third-party packages, or for other
reasons.
Would you like to continue? [y/N]y

Re-enabling installation of all documentation in dpkg...
mv: cannot move '/etc/dpkg/dpkg.cfg.d/excludes' to '/etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp': Permission denied

Balint Reczey (rbalint)
Changed in livecd-rootfs (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.