zsh-workers
 help / color / mirror / code / Atom feed
* ZSH and umask on nt?
@ 1999-03-11 20:27 Brian P. Barnes
  0 siblings, 0 replies; only message in thread
From: Brian P. Barnes @ 1999-03-11 20:27 UTC (permalink / raw)
  To: zsh-workers

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 ç\x03    ?     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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-11 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-11 20:27 ZSH and umask on nt? Brian P. Barnes

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).