[GH-ISSUE #2214] Failed to execute command: Permission denied #1763

Closed
opened 2026-05-05 13:08:14 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @yuxiaoleipeng on GitHub (Jan 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2214

systemd[43196]: frpc.service: Failed to execute command: Permission denied
systemd[43196]: frpc.service: Failed at step EXEC spawning /root/frp/frp_0.34.3_linux_amd64/frpc: Permission denied
我已经给了chmod 777权限,但是设置开机自启动的时候会报这个错误,手动启动没有问题可以正常使用,请问大神们这个是怎么回事呀

Originally created by @yuxiaoleipeng on GitHub (Jan 25, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2214 systemd[43196]: frpc.service: Failed to execute command: Permission denied systemd[43196]: frpc.service: Failed at step EXEC spawning /root/frp/frp_0.34.3_linux_amd64/frpc: Permission denied 我已经给了chmod 777权限,但是设置开机自启动的时候会报这个错误,手动启动没有问题可以正常使用,请问大神们这个是怎么回事呀
gitea-mirror 2026-05-05 13:08:14 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 12, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:797165466 --> @github-actions[bot] commented on GitHub (Mar 12, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Author
Owner

@duocang commented on GitHub (Feb 2, 2022):

@yuxiaoleipeng

frps 的 systemd 配置里面的 “User=nobody” 注释掉。

<!-- gh-comment-id:1027855688 --> @duocang commented on GitHub (Feb 2, 2022): @yuxiaoleipeng frps 的 systemd 配置里面的 “User=nobody” 注释掉。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1763
No description provided.