Mail Archives: cygwin-developers/1998/07/09/08:42:02
Date: Thu, 9 Jul 1998 01:33:20 +0000
From: Geoffrey Noer <noer AT cygnus DOT com>
Opinions, anyone?
Date: Fri, 03 Jul 1998 08:57:39 +0100
From: Andy Piper <andyp AT parallax DOT co DOT uk>
Can I petition you to change the default perms to 664?
STD_WBITS is used for some things for which it doesn't necessarily
seem appropriate, like pipes. Posix doesn't define st_mode for pipes
at all. Unix systems vary on what they return. I tested a few
systems, and the most common return value seems to be 010000; i.e.,
set the permission bits to zero.
As far as files go, in the case where nobody has set the Unix file
permissions, I think we should strive to make the Unix permissions
emulate the Windows permissions. I don't know the NT security model.
On 95, I assume that any user can overwrite any file, so I think we
should return a mode of 0666 (or 0777).
Ian
- Raw text -