Opened 5 years ago

Closed 5 years ago

#1698 closed change request (fixed)

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

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

Description (last modified by evhan)

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

Attachments (2)

0001-Use-0666-as-default-file-open-mode.patch (3.6 KB) - added by evhan 5 years ago.
0001-Use-0666-as-default-file-open-mode.2.patch (3.4 KB) - added by Vasilij Schneidermann 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by evhan

Description: modified (diff)
Version 0, edited 5 years ago by evhan (next)

Changed 5 years ago by Vasilij Schneidermann

comment:2 Changed 5 years ago by Vasilij Schneidermann

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

comment:3 Changed 5 years ago by sjamaan

Fixed in scsh-process 1.6.0

comment:4 Changed 5 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

The core patch has been applied.

Note: See TracTickets for help on using tickets.