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

Stas Verberkt legolas at legolasweb.nl
Thu Mar 8 08:05:06 UTC 2012


Devin Teske schreef op 08-03-2012 3:01:
> I see in the tar(1) man-page on FreeBSD 9.0-RELEASE two options that 
> I would
> like to use:
>
> --uid #
> --gid #
>
[...]
>
> % tar cf some_archive.tar --gid 0 --uid 0 somedir
> tar: Option --gid is not supported
> ...
>
When I look through the list of options in the source 
(http://svnweb.freebsd.org/base/releng/9.0/usr.bin/tar/cmdline.c?revision=227445&view=markup), 
I do not see those options. Bug?


More information about the freebsd-questions mailing list