Your message dated Tue, 04 Aug 2009 14:59:42 -0700
with message-id <[email protected]>
and subject line Re: tar --no-same-group
has caused the Debian Bug report #367287,
regarding tar --no-same-group
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
367287: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367287
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
X-Debbugs-CC: [email protected]
Package: tar
Version: 1.15.1dfsg-3
Severity: normal

On the man page we see:
       --no-same-owner
              extract files with owner set to current user  (the  default  for
              non-root users)
OK, but what about group?
Say how one is to do --no-same-group, i.e., root wants the files
installed with the same owner and group as
# touch bla; ls -l bla
would show.
Wait, it seems --no-same-group accomplishes --no-same-group too.
OK, mention it!
(Maybe you do on the info page, but all I can see in Debian is the man page.)


--- End Message ---
--- Begin Message ---
tag 367287 fixed
thanks

On Mon, 15 May 2006 06:11:39 +0800, Dan Jacobson wrote:
> On the man page we see:
>        --no-same-owner
>               extract files with owner set to current user  (the  default  for
>               non-root users)
> OK, but what about group?
> Say how one is to do --no-same-group, i.e., root wants the files
> installed with the same owner and group as
> # touch bla; ls -l bla
> would show.
> Wait, it seems --no-same-group accomplishes --no-same-group too.
> OK, mention it!
> (Maybe you do on the info page, but all I can see in Debian is the man page.)

Hi Dan,

Thank you for the bug report. It really is appreciated.

And I'm glad you found that the --no-same-owner option does what you
want, (setting both user and group ownership to those of the current
process rather than what's in the archive).

As for the documentation of these options, the current Debian man page,
(which just comes directly from the tar --help code) has:

      --same-owner           try extracting files with the same ownership
      --no-same-owner        extract files as yourself

I think the documentation is assuming that one understands that
"ownership" and "yourself" applies to both the user and group ownership.
Do you think that's reasonable? I'll close this bug, and please feel
free to reopen it if you don't think so.

I do notice that neither of these documentation strings mention the
defaults, (--same-owner is the default for the superuser and
--no-same-owner is the default for ordinary users). I'll send a patch to
fix that to upstream now.

-Carl

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to