chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default file creation mode for core/scsh-process sets executable bit


From: Evan Hanson
Subject: Re: Default file creation mode for core/scsh-process sets executable bit
Date: Wed, 13 May 2020 17:58:40 +1200

Hello everyone,

On 2020-05-09  8:42, Evan Hanson wrote:
> On 2020-05-07 16:43, Vasilij Schneidermann wrote:
> > Which of the following options would you prefer?
> > 
> > 1. Patching scsh-process to pass the correct file mask when using 
> > `file-open`.
> > 2. Patching posixunix.scm to calculate a better default.
> 
> Option 2 seems preferable to me; it should at least match `open-output-file'
> if not the umask, but either change will be backwards-incompatible so anything
> we do will probably nee a CR.

I have created a change request and patch for this here:

  https://bugs.call-cc.org/ticket/1698

I think the change itself is simple enough, but it may break code that is
relying on the fact that file-open creates an executable file by default,
hence the CR.

All the best,

Evan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]