Return-Path: owner-postman 
Delivery-Date: Wed, 06 Apr 94 06:16:44 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id BAA03871 for postgres-redist; Wed, 6 Apr 1994 01:02:40 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199404060802.BAA03871@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from nak.berkeley.edu (nak.Berkeley.EDU [128.32.136.21]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id BAA03859 for <postgres@NOBOZO.CS.BERKELEY.EDU>; Wed, 6 Apr 1994 01:02:09 -0700
Received: from cmsa.Berkeley.EDU by nak.berkeley.edu (8.6.7/1.40)
	id BAA17764; Wed, 6 Apr 1994 01:02:08 -0700
Received: from cmsa.Berkeley.EDU by cmsa.Berkeley.EDU (IBM VM SMTP V2R2)
   with BSMTP id 8755; Wed, 06 Apr 94 01:02:13 PDT
Received: from HUEARN.SZTAKI.HU by cmsa.Berkeley.EDU (Mailer R2.08 R208004)
 with BSMTP id 5228; Wed, 06 Apr 94 01:02:13 PDT
Received: from HUGBOX.BITNET (NJE origin MAILER@HUGBOX) by HUEARN.SZTAKI.HU
 (LMail V1.1d/1.7f) with BSMTP id 7980; Wed, 6 Apr 1994 10:04:27 -0400
Received: by HUGBOX.SZTAKI.HU (MX V3.3 VAX) with SITE; Wed, 06 Apr 1994
          10:00:16 gmt+1
Received: from HUEARN.sztaki.hu by HUGBOX.SZTAKI.HU (MX V3.3 VAX) with SMTP;
          Tue, 05 Apr 1994 18:42:42 gmt+1
Received: from nobozo.CS.Berkeley.EDU by HUEARN.sztaki.hu (IBM VM SMTP V2R2)
          with TCP; Mon, 04 Apr 94 11:23:32 EDT
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU
          (8.6.4/8.6.3) with SMTP id XAA04682 for postgres-dist; Sun, 3 Apr
          1994 23:17:26 -0700
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU
          (8.6.4/8.6.3) with SMTP id XAA04673; Sun, 3 Apr 1994 23:17:25 -0700
Message-ID: <199404040617.XAA04673@nobozo.CS.Berkeley.EDU>
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: wolf@molout.tutkie.tut.ac.jp (Wolf-D. Ihlenfeldt)
CC: postgres@postgres.Berkeley.EDU
Subject: Re: Still problems with regression test
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
Date: Sun, 03 Apr 94 23:17:25 -0700
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Wed, 06 Apr 94 01:02:39 -0700
Resent-XMts: smtp

wolf@molout.tutkie.tut.ac.jp (Wolf-D. Ihlenfeldt) writes:
> Didn't you just write something about fixed directory permissions ?
> This directory (created under user postgres in the normal
> installation procedure) hast the following permissions:
> wolf@hexane% ll -d obj
> drwxr-xr-x   2 postgres general       512 Apr  4 14:45 obj/

mmm.. well, i'm not sure what you mean by "normal" installation
procedure, but the beta installation notes say:

        Extract  POSTGRES from the tar file using the following com-
        mand:
            % tar xvfp postgres-v4r2.tar

to prevent problems like this.  the "p" option preserves file permissions
from the tar file, and we make that directory mode 777 in the tar file:

faerie:aoki (518)> gtar tvzf postgres-v4r2.tar.Z | egrep regress/regress/obj
drwxrwxrwx 2435/18           0 Apr  1 14:52 1994 src/regress/regress/obj/
faerie:aoki (519)>

we have to do this because the person running the test needs to be
able to create files and "postgres" needs to be able to create files.
(this is true of any directory into which you want to run the copy
command.)
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki

