[103] in SIPB_Linux_Development
bug with file modes over translator
daemon@ATHENA.MIT.EDU (Calvin Clark)
Tue Jul 27 17:38:40 1993
Date: Tue, 27 Jul 93 17:39:16 -0400
From: Calvin Clark <ckclark@mit.edu>
To: linux-dev@athena.mit.edu
If you try to chmod a file to mode 400 over the translator, it
will wind up mode 444. Similarly, if you try to chmod a file to mode
0700, it will wind up mode 777. This is not a C library bug, as
I have verified that a raw syscall has the same effect.
In fact, there seems to be no way at all, using umask, etc., to
create a file mode 0400. Calling open() with a third argument
of 0400 even does this.
Is this a known problem with the translator, or with linux or what?
-Calvin