From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e42ff8e9523b9d31,start X-Google-Attributes: gidfee84,public From: "Richard Abraham" Subject: tar - I DON'T want the archive's permissions Date: 1999/06/16 Message-ID: <7k8q80$b0u$1@news.gov.on.ca>#1/1 X-Deja-AN: 490351650 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: A poorly-installed InterNetNews site X-MSMail-Priority: Normal Newsgroups: comp.unix.osf.osf1 Managers: I have a data warehouse on which I am trying to keep tight security. Therefore I have used ACLs and granted 000 permissions to the owner of the files. i.e. d--------- nobody nobody secure.txt The problem is that when users with access to the files through ACLs use tar to archive the data the permissions stored are as above and when they attempt to untar the file on the client without ACL users and groups they cannot create files in the extracted directories. Causing failure in the extraction of files which are to go into those directories. man tar - indicates that the switch -p preserves permissions on the extracted files. But they seem to be preserved whether -p is indicated or not. My question. I want the extracted files to take on the umask of the extracting owner, I DO NOT WANT THE PERMISSIONS INDICATED IN THE ARCHIVE. Anyone know how to accomplish this. Thanks. Richard Abraham