[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UPG and the default umask



* Peter Palfrader <weasel@debian.org> [100518 09:48]:
> Not exactly true.  Untarring as root preserves these things by default.

Tar also preserves users. As one user name (or id) might be trusted on
one system, but be an other person on an other system, that is already
dangerous.

> Also, using rsync with -avz is pretty standard.

That already preserves the group names if possible. So it means that if
you are in a group with the same name on two computers but with
different meaning you can give permissions to people you have not
intended. So rsync -a is already dangerous in the way you describe.

Hochachtungsvoll,
	Bernhard R. Link


Reply to: