Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!csus.edu!ucdavis!csusac!csuchico.edu!walleye!tempest From: tempest@walleye.uucp (Kenneth K.F. Lui) Newsgroups: comp.sys.next Subject: Re: FAQ -- Question #1(Next public domain software). Message-ID: <1991Jan16.072021.13782@ecst.csuchico.edu> Date: 16 Jan 91 07:20:21 GMT References: <1127@toaster.SFSU.EDU> <1991Jan16.034038.14804@nntp-server.caltech.edu> Sender: news@ecst.csuchico.edu (USENET) Reply-To: tempest@ecst.csuchico.edu (Kenneth K.F. Lui) Organization: California State University, Chico Lines: 32 In article <1991Jan16.034038.14804@nntp-server.caltech.edu> madler@pooh.caltech.edu (Mark Adler) writes: >The "o" has no effect with "x" (it forces an old tar format when *making* >tar files). The "p" option uses the modes in the tar file, which I don't >think is a good idea unless you're going to always look at the modes >afterwards. Here's a part of the tar man page: o On output, tar normally places information speci- [ ^^^^^^ <- note the mode, not making tar files.] fying owner and modes of directories in the archive. Former versions of tar, when encounter- ing this information will give error message of the form "/: cannot create". This modifier will suppress the directory informa- tion. p This modifier says to restore files to their ori- ginal modes, ignoring the present umask(2). Setuid and sticky information will also be restored to the super-user. I find the p option very useful as it keeps the file dates upon extraction. Too bad ftp doesn't have an equivalent option for *gets and *puts, as I can never tell if two files are the same on different sites when using their dates. Ken ______________________________________________________________________________ tempest@ecst.csuchico.edu, tempest@walleye.ecst.csuchico.edu,|Kenneth K.F. Lui| tempest@sutro.sfsu.edu, tempest@wet.UUCP |________________|