John Zoltak writes:
>
> Lee,
>
> Right out of LaserRom is the text about cmask.
>
> umask
>
> Sets a process's file mode creation mask.
>
> Syntax
>
> #include <sys/types.h>
> #include <sys/stat.h>
> mode_t umask (mode_t cmask);
Or from SH.HPBIN.SYS:
umask cmask
Or from CI.PUB.SYS:
:XEQ UMASK.HPBIN.SYS cmask
Where cmask corresponds to the file permissions you want to *deny* by default.
I like a cmask of 022, which denies write access to anybody but me. You might
prefer 077 which denies all access to anybody but you.
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)