X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 568E2D98E4 for ; Tue, 27 Sep 2005 10:08:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42997-02 for ; Tue, 27 Sep 2005 13:08:34 +0000 (GMT) Received: from trolak.mydnsbox2.com (ns1.mydnsbox2.com [207.44.142.118]) by svr1.postgresql.org (Postfix) with ESMTP id 948A7D9931 for ; Tue, 27 Sep 2005 10:08:35 -0300 (ADT) Received: from [192.168.1.103] (cpe-024-211-165-134.nc.res.rr.com [24.211.165.134]) (authenticated (0 bits)) by trolak.mydnsbox2.com (8.11.6/8.11.6) with ESMTP id j8RCPfE14261; Tue, 27 Sep 2005 07:25:41 -0500 Message-ID: <4339444F.6010101@dunslane.net> Date: Tue, 27 Sep 2005 09:08:31 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.7.10-1.3.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gnanavel S Cc: pgsql-hackers@postgresql.org Subject: Re: PostgreSQL overall design References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.039 required=5 tests=[AWL=0.039] X-Spam-Level: X-Archive-Number: 200509/1228 X-Sequence-Number: 73625 [ -performance removed ] Gnanavel S wrote: > > Need a clarification in copydir.c file of src/port directory, In the > following snippet the destination directory is created first then the > source directory is read. Suppose if I don't have permission to read > the source, even then the destination directory would be created. > I just want to know whether there is any reason for doing so? > > Under what circumstances do you imagine this will happen, since the postmaster user owns all the files and directories? cheers andrew