On Thursday 03 Jul 2008, Masatran, R. Deepak wrote: > I am worried about extracting TAR files...(1) What if it contains > files with absolute paths?
Use -C option to stage the files in some other dir. > (2) What if it contains files with ".." in > the path? A system back up (e.g. tar on /) will contain such files esp. in /etc. What is your concern? > (3) What if it violates the Unix convention of extracting > the contents in a sub-directory? Then you have a compromised version of tar. This could happen with any command e.g. a compromised rm could wipe out your system (presuming that you are doing this with root privilege) -- Arun Khan _______________________________________________ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
