From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8529 invoked from network); 24 Mar 2004 18:36:51 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 24 Mar 2004 18:36:51 -0000 Received: (qmail 6835 invoked by alias); 24 Mar 2004 18:36:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7259 Received: (qmail 6825 invoked from network); 24 Mar 2004 18:36:16 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 24 Mar 2004 18:36:16 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 24 Mar 2004 18:36:15 -0000 Received: (qmail 13785 invoked from network); 24 Mar 2004 18:36:15 -0000 Received: from wbar3.sjo1-4-11-009-147.sjo1.dsl-verizon.net (HELO candle.brasslantern.com) (4.11.9.147) by a.mx.sunsite.dk with SMTP; 24 Mar 2004 18:36:12 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i2OIaAO16087 for zsh-users@sunsite.dk; Wed, 24 Mar 2004 10:36:10 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040324183610.ZM16086@candle.brasslantern.com> Date: Wed, 24 Mar 2004 18:36:10 +0000 In-Reply-To: Comments: In reply to Thorsten Kampe ""autoload -U" expanding alias" (Mar 23, 10:43pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: "autoload -U" expanding alias MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: **** X-Spam-Status: No, hits=4.7 required=6.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_NJABL,RCVD_IN_NJABL_DIALUP,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 4.7 On Mar 23, 10:43pm, Thorsten Kampe wrote: } } I have a script that zcompiles some rcfiles. It's asking whether to } overwrite files: } re-compiling /home/thorsten/.zsh/.zlogout.zwc: mv: overwrite } `/home/thorsten/.zsh/.zlogout.zwc.old', overriding mode 0400? This message is happening because of the 0400 file mode, not because of any option being passed to the "mv" command. Files that are not writable in directories that are writable trigger this behavior unless "mv -f" is used. } What's happening and how can I prevent this question? chmod 0600 the .zwc.old files. How did they end up mode 0400 ? Does your umask setting typically cause you to create files you can't write?