Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!umd5.umd.edu!roissy.umd.edu!mark From: mark@roissy.umd.edu (Mark Sienkiewicz) Newsgroups: comp.os.386bsd.bugs Subject: Re: bug with ufs file creation Date: 15 Sep 1993 16:56:27 GMT Organization: University of Maryland Lines: 20 Message-ID: <277hfr$ka1@umd5.umd.edu> References: <CD44wx.LHs@rex.uokhsc.edu> <27202e$7u@umd5.umd.edu> <CDD909.603@taronga.com> NNTP-Posting-Host: roissy.umd.edu In article <CDD909.603@taronga.com> peter@taronga.com (Peter da Silva) writes: >In article <27202e$7u@umd5.umd.edu>, >Mark Sienkiewicz <mark@roissy.umd.edu> wrote: >>You can't grant append-access, because nobody opens files for appending. > >386BSD bonkers 1 % man open >... > > O_APPEND append on each write > > Opening a file with O_APPEND set causes each write on the file to be ap- > pended to the end. > I didn't say you can't do it. I said nobody does it. Of course, I'm being overly general, because some programs actually make use of this feature, but lots of them do not. If you grant/deny access based on O_APPEND, I expect you will violate the "principle of least astonishment" regularly.