hmmm, 

here are the files in question from tar tvf...
 
-rw-rw-rw-   0/0       91 Jun 28 08:02 2001 olr/etc/jdbcDriverPlayback
-rw-rw-rw-   0/0     3392 Jul  3 08:12 2001 olr/etc/OLRUsing.properties
-rw-rw-rw-   0/0      325 Jun 15 13:39 2001 olr/etc/dbconnection.xml
-rw-rw-rw-   0/0     2479 Jul  3 08:12 2001 olr/etc/OLRAuthoring.properties
-rw-rw-rw-   0/0     1626 Jul  3 08:12 2001 olr/etc/OLRLogon.properties
-rwxr-xr-x   0/0      927 Jun 26 12:08 2001 olr/etc/setOLRCPATH
-rwxr-xr-x   0/0      672 Jul  2 08:16 2001 olr/etc/setOLRParms.ksh


Looks like the correct perms are there.  Being a bit niave about 'umask' how
can I tell tar to 'ignore/override' my umask and use perms as implied by the
tar file?  

In the broad scheme of things I give this tar to someone else.  These folks
aren't the sharpest tools in the shed  (i.e. I told them to chmod the files
after untarring, they said what's chmod) - how can I make it so that don't
need to do anything 'special', just a plain ole 'tar xvf' and the files will
be in the correct perms? (Switch on tar perhaps - hmmm...man tar)

Thanks for pointing this out.

-Fred

-----Original Message-----
From: Stefan Bodewig
To: [EMAIL PROTECTED]
Sent: 7/3/01 8:50 AM
Subject: Re: tarfile set perms issue....HELP

Fred Welland <[EMAIL PROTECTED]> wrote:

> Untarring the generated tar file generates the following ls -l listing
of
> the olr/etc directory:

Does "tar tvf" give the same result?  I'd guess it is your umask that is
stripping off the permissions.

Stefan

Reply via email to