tar(1) and --uid/--gid on 9.0-RELEASE

Devin Teske devin.teske at fisglobal.com
Thu Mar 8 02:01:28 UTC 2012


I see in the tar(1) man-page on FreeBSD 9.0-RELEASE two options that I would
like to use:

--uid #
--gid #

Naturally, these are used to override the on-disk credentials while creating (or
extracting) an archive.

Problem?

They don't seem to be supported.

% tar cf some_archive.tar --gid 0 --uid 0 somedir
tar: Option --gid is not supported
...

WTF?!
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the freebsd-questions mailing list