Path: utzoo!attcan!uunet!husc6!rutgers!mtunx!att!chinet!les From: les@chinet.UUCP (Leslie Mikesell) Newsgroups: comp.unix.xenix Subject: Re: New: afio backups, directory ownership? Message-ID: <5842@chinet.UUCP> Date: 15 Jun 88 04:37:02 GMT References: Reply-To: les@chinet.UUCP (Leslie Mikesell) Organization: Chinet - Public Access Unix Lines: 13 In article jl42+@andrew.cmu.edu (Jay Mathew Libove) writes: >So, what did I do wrong? What funny switch(es) is(are) necessary to >get afio to write and restore directory modes too? 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. Les Mikesell