From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16586 invoked by alias); 19 Aug 2011 08:36:33 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16268 Received: (qmail 22127 invoked from network); 19 Aug 2011 08:36:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Fri, 19 Aug 2011 10:36:24 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: "Once-a-day" long delay before startup Message-ID: <20110819083624.GD1685@prunille.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: <20110814145749.GA6341@andrew.cmu.edu> <4E4D8D50.5040800@gmail.com> <110818205236.ZM20722@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <110818205236.ZM20722@torch.brasslantern.com> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6194-vl-r44775 (2011-07-13) On 2011-08-18 20:52:36 -0700, Bart Schaefer wrote: > The getent call is used to read the system's groups database for the > groups of your login user, so that the shell can then check whether > other persons in that group might have write access to your fpath. > (There is an assumption that getent is in /usr/bin, so if it's not > there the check relies on the local /etc/group file.) > > If you're in an environment (such as, say, a university or a large > corporation) where the groups database is networked and may contain > hundreds or even thousands of entries, that "getent" call can take a > very long time. That can be annoying. But I don't really understand. What if none of the concerned directories are group-writable? I suppose that getent should be useless. Why not calling it only when needed? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)