8 Sep
2006
8 Sep
'06
16:43
On Fri, 8 Sep 2006, Anders Johansson wrote:
On Friday 08 September 2006 15:49, Jan Engelhardt wrote:
It becomes important as you write code:
S_IRUSR | S_IWUSR | S_IXUSR S_IRUSR + S_IWUSR + S_IXUSR
as you cannot rely on S_I[RWX]USR being single-bit values.
Doesn't really seem relevant to the case at hand.
i would have thought more important would be 1. how to not use 777 but maybe 755 or even less 2. distinguishing directory and file create masks (not every file must be executable) cheers