Opened 4 years ago

Last modified 4 years ago

#1698 closed change request

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

Reported by: evhan Owned by:
Priority: minor Milestone: someday
Component: core libraries Version: 5.2.0
Keywords: Cc:
Estimated difficulty: trivial

Description

Currently, using file-open without the optional mode argument which otherwise defaults to 0744 in posixunix.scm. This is inconsistent with the behavior of other procedures such as open-output-file (0644). 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

Change History (1)

Note: See TracTickets for help on using tickets.