Permission at the time of file creation

rmdubash at hermes.cs.uh.edu rmdubash at hermes.cs.uh.edu
Sat Jun 22 06:16:32 AEST 1991


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 at geoquest.com
rmdubash at cs.uh.edu
**************************************************************************
Email: rmdubash at cs.uh.edu
USMail: 5858 Westheimer #800
        Houston, Tx 77057



More information about the Comp.unix.questions mailing list