Skip to content

CLNRest pathing issue on master #8063

Closed
@ddustin

Description

@ddustin

Moving plugins/clnrest/clnrest to plugins/clnrest locally appears to be a workaround.

On my local machine:

Adding the path to the log message:

	p->pid = pipecmdarr(&stdinfd, &stdoutfd, &pipecmd_preserve, cmd);
	if (p->pid == -1)
		return tal_fmt(p, "opening pipe: %s; cmd[0]: %s",
			       strerror(errno), cmd[0]);
error starting plugin '/..trim../plugins/clnrest': opening pipe: Permission denied; cmd[0]: /..trim../plugins/clnrest
% /..trim../plugins/clnrest
zsh: permission denied: /..trim../plugins/clnrest
% /..trim../plugins/clnrest/clnrest
[program runs]

The permission denied is because it's trying to run the folder instead of the program.

Original issue: #7862

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions