--owner --group without root access?

Jos Backus josb at cncdsl.com
Mon Dec 31 08:12:15 EST 2001

On Sun, Dec 30, 2001 at 07:40:23AM -0500, Philip Mak wrote:
> Giving the situation some more thought, it might not be hard to be able to
> use rsync to preserve file ownership without having root access.  It would
> be just a matter of getting a "ls -lR" of the data, and having some
> program that can parse that to recover the original file ownership if
> necessary.
> Has anyone already done something like this by any chance?

Have a look at the BSD mtree(8) utility, in particular the -U option.

Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb at cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;

More information about the rsync mailing list