Path: utzoo!attcan!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.unix.xenix Subject: Re: New: afio backups, directory ownership? Message-ID: <11269@steinmetz.ge.com> Date: 15 Jun 88 20:50:23 GMT References: <5842@chinet.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 21 In article <5842@chinet.UUCP> les@chinet.UUCP (Leslie Mikesell) writes: | As posted, afio gives directories the permissions of their parent when | they are created because they are needed to hold a file. Since the | -depth flag to find causes the directories to be written last (necessary | to deal with read-only directories) you don't get the original | permissions restored. A patch was posted to correct this not long | after the afio posting. I can dig it up if you need it. Please post the patch. There is a -x option, which I confidently tested and found worked... my test was wrong (sorry jay). The use of the -x flag creates the directory with the correct group, rather than default, but not user. It also won't chnage the date modified, user or group if the directory already exists. I hope the patch you have fixes this, although I admit I only use afio when there's no real cpio to be had. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me