Summary
Use 0666 as the default file mode in "file-open" from the chicken.file.posix module
Metadata
- Id: 2acaac7b6d70b3c0d81197e653a5e132ac95eb39
- Trac id: 1698
- Type: change request
- Reporter: evhan
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty: trivial
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version: 5.2.0
- Changetime: 2020-06-01 14:08:40 UTC
- Created: 2020-05-13 07:50:12 UTC
- Keywords:
Attachments
- 2acaac7b6d70b3c0d81197e653a5e132ac95eb39/attachments/0001-Use-0666-as-default-file-open-mode.patch
- 2acaac7b6d70b3c0d81197e653a5e132ac95eb39/attachments/0001-Use-0666-as-default-file-open-mode.2.patch
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.