sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* umask
@ 1995-03-31  1:14 Scott Schwartz
  0 siblings, 0 replies; only message in thread
From: Scott Schwartz @ 1995-03-31  1:14 UTC (permalink / raw)
  To: sam-fans

I run with 022, but some things I'd rather have tighter
control over.  Sam makes temp files at various times that
don't really need to be group or world writable.
Hence this suggestion:

===================================================================
RCS file: RCS/mesg.c,v
retrieving revision 1.1
diff -r1.1 mesg.c
83c83
< 		fd = create("/tmp/sam.out", 1, 0666L);
---
> 		fd = create("/tmp/sam.out", 1, 0600L);
===================================================================
RCS file: RCS/sam.c,v
retrieving revision 1.1
diff -r1.1 sam.c
153c153
< 			io = create(buf, 1, 0777);
---
> 			io = create(buf, 1, 0700);
===================================================================
RCS file: RCS/shell.c,v
retrieving revision 1.1
diff -r1.1 shell.c
37c37
< 			fd = create(errfile, 1, 0666L);
---
> 			fd = create(errfile, 1, 0600L);



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

only message in thread, other threads:[~1995-03-31  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-03-31  1:14 umask Scott Schwartz

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).