Re: Wrong Folder?

Michael Rasmussen via Users <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.general
Message-ID <[email protected]>
On Sat, 22 Jan 2022 17:34:29 +0300
Ivan Krylov <[email protected]> wrote:

> I think that the file ownership is a red herring here. Unless Chris
> both created the back-ups and restored them as root, it shouldn't be
> possible for tar running as non-superuser to create files with uid/gid
> different from the current user.
> 
This is not true. If the uid does not exists on the computer you
restore then then ownership of the files and folders will be either
nobody or you will see uid and gid for owner and group. This of course
requires that the ownership of the files and folders in the backup does
not belong to root - root has uid 0 (zero) on any unix/linux system.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir <at> datanom <dot> net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir <at> miras <dot> org
https://pgp.key-server.io/pks/lookup?search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Those who educate children well are more to be honored than parents, for
these only gave life, those the art of living well.
		-- Aristotle

_______________________________________________
Users mailing list
[email protected]
https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEX3FAW1ccuO4qQUpPx3wR4EmgbmYFAmHsH/EACgkQx3wR4Emg
bmZhLwf9F5QwbylDJubFsbNIUPPXDZprTSO3Z1iVs4rFnj4C+83pUOI04Ff1nQQ0
3ff/9E4AjaUOLqppjcaRN5cbhza67btZLJiUc3p/gBRiGCWLW6su4N8i58dIHaEw
W+PQE+Z9IXBhy6S7tVGHdxcDjqgo7Uxv2Fv3xerufPzMoYJNMsouz2E1f1G0e3g3
HYVEQHG8HGtB6DX5B1pQ1BGZd+8ypkWZWA2cG/jLYD6BiRHWZ6o06S8oICmR/mAB
yL2DZJJ059ul0QYEZbzlmV4CRdTKIwdXOulkrO1JYfES70Mw2oyLX9kdiNL6EN2z
pAR9OuuyoLpZY0DDVlMaKhmDmNayPg==
=hYxM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.