From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24938 invoked from network); 11 Mar 1999 20:26:23 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Mar 1999 20:26:23 -0000 Received: (qmail 11117 invoked by alias); 11 Mar 1999 20:25:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5764 Received: (qmail 11108 invoked from network); 11 Mar 1999 20:25:43 -0000 Message-ID: <36E82714.CA4B4D8E@dev.tivoli.com> Date: Thu, 11 Mar 1999 14:27:00 -0600 From: "Brian P. Barnes" X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: zsh-workers@sunsite.auc.dk Subject: ZSH and umask on nt? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am wondering why zsh refused to overwrite any file any time. For all commands which redirect to an output file, I have to prefix the command with a "rm OUTPUTFILE;" I have set the umask to 000 so as not to remove any permissions, and even files which I own, I can't overwrite. Even if I chmod it to 777 I can't overwrite it. Here is an example: C:/bin>umask 000 C:/bin>touch asdf C:/bin>ll asdf -rw-rw-rw- 1 544 everyone 0 Mar 11 14:13 asdf C:/bin>cat asdf > asdf zsh: permission denied: asdf C:/bin>chmod 777 asdf C:/bin>cat asdf > asdf zsh: permission denied: asdf It is completely ignoring file ownership. One other thing I would like to mention is that long command lines (> 72 chars) mangle the input line. After 72 chars, the line is correct: C:/bin>111111111122222222223333333333444444444455555555556666666666777777777788 After typing the 3rd 8, my command disappears and I get this: x ç ? O 3 x Q I use ZSH on NT and it is so much better that cmd or even Cygnus Bash. It's refusal to overwrite files is most aggravating. Then having to prefix every redirect command with a rm command increases the line size, often pushing it over the 72 char limit. Again, doubly aggravating. Thank you, Brian