Re: Recording usage without write permission

Lawrence D'Oliveiro <[email protected]> Mon, 22 Jan 2024 06:46:26 -0000 (UTC)
Newsgroups alt.comp.lang.shell.unix.bourne-bash
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Mon, 16 Oct 2023 08:44:59 -0500, Michael F. Stemper wrote:

> But, I'm curious as to whether there is some way to accomplish the same
> thing without giving promiscuous access to a file in my user space.
> Maybe some kind of messaging? Send a message to a daemon executing as
> me, and have that do the reading and writing?

A daemon listening on a Unix-family socket seems the obvious choice.