On Fri, 2012-01-27 at 07:22 -0430, Patrick O'Callaghan wrote:
On Fri, 2012-01-27 at 06:39 -0500, Adam Tauno Williams wrote:You tell tar to NOT restore file ownership - this allows you to restore an archive from one systemâ Otherwise you will get a bunch of errors, or at least warnings, about not being able to set file ownership.Fair enough, then we agree. Your earlier statement implies that if you don't tell tar not to restore ownership, then it will do so. What you meant was that it will *try* (and fail).
Which would be wrong. If invoked as a non-root user, the default behaviour is *not* to attempt to restore permissions. Since it obviously won't work. If invoked as root, tar *will* restore permissions by default. -- dwmw2  Well, with the traditional UNIX security model at least.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature