Paul Eggert <[email protected]> wrote:

> On 08/02/10 12:28, Eric Blake wrote:
> > since tar does have the likelihood
> > of creating children, yes, it should play nicely and restore privileges
> > before exec()ing.
>
> Yes, that makes sense.  However, the proposed patch isn't quite
> right, since it restores PRIV_SYS_LINKDIR even if the user had
> removed that privilege before invoking 'tar'.

What is the reason for playing with privileges inside a tar implementaton?

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to