Summary

Use 0666 as the default file mode in "file-open" from the chicken.file.posix module

Metadata

Attachments

Description

Currently, using `file-open` without the optional mode argument uses a default mode of 0744. We should rather use 0666 as the default mode to align with the procedures that create files with fopen(3).

From: https://lists.nongnu.org/archive/html/chicken-hackers/2020-05/msg00021.html

Changes and comments

[2020-05-13 07:51:23 UTC] evhan attached 0001-Use-0666-as-default-file-open-mode.patch (description=#f)

[2020-05-13 07:56:19 UTC] evhan changed description

[2020-05-13 07:56:19 UTC] evhan wrote:

Patch attached above, and announced on the mailing list.

[2020-05-13 07:56:19 UTC] evhan wrote:

1589349420775110

[2020-05-13 09:47:52 UTC] wasamasa attached 0001-Use-0666-as-default-file-open-mode.2.patch (description=#f)

[2020-05-13 09:48:19 UTC] wasamasa wrote:

Thanks, I've added the equivalent scsh-process patch.

[2020-05-17 17:27:10 UTC] sjamaan wrote:

Fixed in scsh-process 1.6.0

[2020-06-01 14:08:40 UTC] felix changed status from new to closed

[2020-06-01 14:08:40 UTC] felix set resolution to fixed

[2020-06-01 14:08:40 UTC] felix wrote:

The core patch has been applied.