Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLNRest pathing issue on master #8063

Closed
ddustin opened this issue Feb 7, 2025 · 2 comments
Closed

CLNRest pathing issue on master #8063

ddustin opened this issue Feb 7, 2025 · 2 comments

Comments

@ddustin
Copy link
Collaborator

ddustin commented Feb 7, 2025

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

@daywalker90
Copy link
Contributor

Apparently i didn't delete the folder hard enough. I think @ShahanaFarooqui is fixing it in #8068

@rustyrussell
Copy link
Contributor

Fixed, indeed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants