Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2012 18:01:35 -0800
From:      Devin Teske <devin.teske@fisglobal.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        devin.teske@fisglobal.com
Subject:   tar(1) and --uid/--gid on 9.0-RELEASE
Message-ID:  <0f4401ccfccf$64ce6720$2e6b3560$@fisglobal.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?0f4401ccfccf$64ce6720$2e6b3560$>