Full Disclosure mailing list archives

Re: GNU tar directory traversal


From: virus () nolog org
Date: Thu, 23 Nov 2006 11:19:29 +0100

Hello,

Siim Põder wrote:
But not outside cwd or another directory specified by the -C option.
Agreed? Great.

no. Not agreed. -C is for changing the directory *before processing the 
remaining arguments*. So, if you don't want tar to overwrite files, you 
have to use -w.

GTi

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: