Newsgroups: comp.unix.questions,comp.unix.programmers
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!zaphod.mps.ohio-state.edu!menudo.uh.edu!hermes.cs.uh.edu!rmdubash
From: rmdubash@hermes.cs.uh.edu ()
Subject: Permission at the time of file creation
Message-ID: <1991Jun21.201632.2407@menudo.uh.edu>
Sender: usenet@menudo.uh.edu (USENET News System)
Nntp-Posting-Host: hermes.cs.uh.edu
Reply-To: rmdubash@hermes.cs.uh.edu ()
Organization: University of Houston
Distribution: usa
Date: Fri, 21 Jun 1991 20:16:32 GMT

Hi,
  I am using SunOS4.1.1 and trying to open a file using the open system call 
with a mode value 777. Although my umask is 0, the file created has quite 
arbitrary permissions on it which causes an error the next time I try to
open it. BTW the flags are O_WRONLY|O_CREAT|O_TRUNC. I also tried the creat
system call with similar results.
  Any clue as to what am I missing? Please reply by e-mail.
  Thanx in advance

Rumi Dubash
rmd@geoquest.com
rmdubash@cs.uh.edu
**************************************************************************
Email: rmdubash@cs.uh.edu
USMail: 5858 Westheimer #800
        Houston, Tx 77057
