Wilfred van Velzen
2014-01-04 19:00:42 UTC
Hi,
I noticed the files received in my inbound have the 'execute' bit set, which is
rather strange on linux/unix systems for regular files.
I think this is due to line 450 in inbound.c:
if ((fd = open (buf, O_CREAT|O_APPEND|O_RDWR|O_BINARY|O_NOINHERIT, 0755)) ==
-1)
Where the mode bits are set to the hardcoded value: 0755. So there are no
differences between any OS's made.
Why is it done this way?
Bye, Wilfred.
I noticed the files received in my inbound have the 'execute' bit set, which is
rather strange on linux/unix systems for regular files.
I think this is due to line 450 in inbound.c:
if ((fd = open (buf, O_CREAT|O_APPEND|O_RDWR|O_BINARY|O_NOINHERIT, 0755)) ==
-1)
Where the mode bits are set to the hardcoded value: 0755. So there are no
differences between any OS's made.
Why is it done this way?
Bye, Wilfred.