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

Re: About problems with named pipes



On Tue, Nov 11, 2025 at 2:27 PM Michael Paoli
<michael.paoli@berkeley.edu> wrote:

> And there's no reason to attempt to execute a named pipe.
> But, well, if we do ...:
> Either way, peeking bit more with strace(1) ...
> execve("./p", ...) = -1 EACCES (Permission denied)
> Either way, the kernel stubbornly and appropriately refuses to allow
> execution of a named pipe.

And yes, very much as it ought.  From execve(2) we have:
ERRORS
       EACCES The file or a script interpreter is not a regular file.


Reply to: