FS#22546 - Smarter backup file printing needed for unreadable files

Attached to Project: Pacman
Opened by Dan McGee (toofishes) - Saturday, 22 January 2011, 01:37 GMT
Last edited by Dan McGee (toofishes) - Monday, 24 January 2011, 14:36 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version git
Due in Version 3.5.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$ pacman -Qii filesystem
...
Backup Files:
MODIFIED /etc/fstab
MISSING /etc/crypttab
MODIFIED /etc/group
MODIFIED /etc/hosts
MODIFIED /etc/ld.so.conf
MODIFIED /etc/passwd
MISSING /etc/shadow
MISSING /etc/gshadow
MODIFIED /etc/resolv.conf
Not Modified /etc/motd
Not Modified /etc/nsswitch.conf
Not Modified /etc/shells
Not Modified /etc/host.conf
Not Modified /etc/securetty
Not Modified /etc/profile
Not Modified /etc/issue

The three files marked MISSING are not at all missing; we just can't read them since we aren't running as root. We should print something different in this case. Running under sudo obviously works.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 24 January 2011, 14:36 GMT
Reason for closing:  Implemented
Additional comments about closing:  d16a5ae7ddf358c452
Comment by Xavier (shining) - Saturday, 22 January 2011, 10:49 GMT
UNREADABLE (needs root?)
Comment by Dan McGee (toofishes) - Saturday, 22 January 2011, 20:45 GMT

Loading...