mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2619] frpc dashboard更新脚本显示成功,实际上无权限 #2084
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2084
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JakkuSakura on GitHub (Oct 15, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2619
Bug Description
我用过frpc的dashboard更新配置文件,显示成功,但是刷新后恢复原样。通过F12,得到

500 error:
write content to frpc config file error: open /etc/frp/frpc.ini: permission denied
配置文件没权限是因为frpc的用户是nobody,我可以解决。希望能正确显示这个500错误
frpc Version
0.37.1
frps Version
0.37.1
System Architecture
linux/amd64
Configurations
[common]
server_addr = somehost.com
server_port = 7000
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = xxxx
admin_pwd = xxxx
[frpc-admin]
type = tcp
local_ip = 127.0.0.1
local_port = 7400
remote_port = 17400
Logs
No response
Steps to reproduce
...
Affected area
@blizard863 commented on GitHub (Oct 19, 2021):
你自己的权限问题。
@github-actions[bot] commented on GitHub (Nov 19, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@yuhuazhu commented on GitHub (Mar 4, 2022):
@qiujiangkun
出现同样问题,修改配置提示成功,刷新后还是没变
看到你给的提示是没权限,试着手动给一个权限
chmod o+w frpc.ini然后就能更新了