Issue with group of decrypted file

David McDonald david.mcdonald at
Tue Sep 3 00:28:03 CEST 2002

Dear all,

Thank you.

Adrian is absolutely correct.

My error entirely.

I did discover and correct it yesterday, but it has taken some time for the
e-mail to come through (to the list).

Again many thanks to those who looked into this issue.


Dave McDonald

> -----Original Message-----
> From: Adrian 'Dagurashibanipal' von Bidder 
> [mailto:avbidder at]
> Sent: Monday, 2 September 2002 10:05 pm
> To: 'gnupg-devel at'
> Subject: Re: Issue with group of decrypted file
> On Fri, 2002-08-30 at 05:12, David McDonald wrote:
> > Hi all,
> > 
> > Is anyone else seeing this?
> > 
> > When I decrypt a file, the decrypted file's group is always 
> "root". I am not
> > running gpg as root, but as a normal user (though gpg is 
> setuid root to
> > allow it to use secure memory).
> Blind guess: gnupg is installed setuid *and* setgid root, but it does
> only drop the uid privilege, not the group privilege (since 
> it does only
> *use* the ui privilege).
> $ ls -l `which gpg`
> -rwsr-xr-x    1 root     root       596296 May 11 16:13 /usr/bin/gpg
> I'd bet for you it shows '-rwsr-sr-x'. The obvious fix would be
> $ chmod g-s `which gpg`
> (and as this is posted to -devel: would it make sense to try 
> to drop the
> group privilege to stop this installation error having any impact?)
> cheers
> -- vbi
> -- 
> secure email with gpg              
> NOTICE: is known to carry a valid copy of my key

This e-mail message and any attached files are intended only for the use of
the addressee named above, and contains confidential information. If you are
not the intended recipient, any use, disclosure or copying of this e-mail is
unauthorised.  If you have received this e-mail in error, please notify the
sender immediately by reply e-mail and delete this e-mail from your
computer. We use virus scanning software but exclude all liability for
viruses or similar in any attachment. 

More information about the Gnupg-devel mailing list