🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6885

Odd umask "feature" when using 'on'

#6885
From: Tim Chown
Date: Tue, 19 Feb 1991 19:22
19 lines
1232 bytes
The default umask on all machines we have in 026.  Here, I'm on one
machine (pessoa) and edit a new file on another machine (alonzo) via the
'on' command.  I also have 'umask 026' in my .cshrc.

The problem is tht editing via 'on' ignores the umask and generates a file
that's 666.  Both machines are SPARCs running SunOS4.0.3.

>       sra@pessoa[45] umask
>       026
>       sra@pessoa[46] lf -l Z
>       Z not found
>       sra@pessoa[47] on alonzo xterm -e vi Z
>               <here I edit the file and exit vi>
>       sra@pessoa[48] lf -l Z
>       -rw-rw-rw-  1 sra             6 Feb 12 15:27 Z

Any ideas what the problem is anyone ???

Tim
Technical Details
Message-ID: <1701@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: T.J.Chown@ecs.soton.ac.uk (Tim Chown)
Newsgroups: comp.sys.sun
Subject: Odd umask "feature" when using 'on'
Keywords: Software
Message-ID: <1701@brchh104.bnr.ca>
Date: 19 Feb 91 19:22:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 19
Approved: Sun-Spots@rice.edu
X-Original-Date: 12 Feb 91 16:18:05 GMT
X-Sun-Spots-Digest: Volume 10, Issue 42, message 2
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu