coreutils
[Top][All Lists]
Advanced

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

Re: crtfile as a possible new coreutils command


From: Collin Funk
Subject: Re: crtfile as a possible new coreutils command
Date: Thu, 28 May 2026 11:15:34 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

PƔdraig Brady <P@draigBrady.com> writes:

> One I can think of is setting the mode atomically,
> though with umask we can control all but the execute bit atomically,
> and it's unusual to be creating files with executable bit set.

Well, that job is already covered by 'install', no?

E.g., if you want to create a new file atomically that cannot be
accessed by another user you would do:

   $ install -m 600 /dev/null secret

Not related to functionality, but from reading the subject I thought
'crtfile' was something to interact with certificates. Maybe that is
just me, though.

Collin



reply via email to

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