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

_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to