[openbeos] Re: Weird Permission Bits

  • From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 05 Jul 2004 18:58:06 -0300 EST

On Mon, 05 Jul 2004 14:55:14 -0700, Tyler Dauwalder <
tyler@xxxxxxxxxxxxx> said:

> I did O_RDWR | O_TRUNC | O_CREAT. But regardless, aren't permissions 
> a 
> bitmask? I wouldn't think you could cause random 's' and 'S' 
> characters to 
> appear, just toggle the usual chars on or off.

They're not random. They are actually valid modes.

-Bruno


--
Fortune Cookie Says:

"You can bring any calculator you like to the midterm, as long as it 
doesn't dim the lights when you turn it on."
                -- Hepler, Systems Design 182

Other related posts: