入驻于 2021-07-31 / MAKE 主页
好家伙,我把pi-dashboard所有文件的用户名和用户组改为root就可以了,可能不是root或者不在root用户组,没有 /porc 的权限
不行,sudo php device.php
我把目录下面的 .user.ini删除了也不行
我权限改为777都无法读取
不是Raspberry Pi OS
是通过balenaEtcher 安装的Ubuntu 20.04 LTS
{"page":{"time":{"start":["0.03957300","1627912010"]}},"time":1627912010,"uptime":0,"cpu":{"freq":0,"stat":{"user":0,"nice":0,"sys":0,"idle":0,"iowait":0,"irq":0,"softirq":0},"temp":0},"mem":{"total":0,"free":0,"buffers":0,"cached":0,"cached_percent":0,"used":0,"percent":0,"real":{"used":0,"free":0,"percent":0},"swap":{"total":0,"free":0,"used":0,"percent":0}},"load_avg":[0,0,0,"0\/0"],"disk":{"total":14.507,"free":6.137,"used":8.37,"percent":57.7},"net":{"count":0}}
用户名和用户组都是www
具体权限如图
![QQ截图20210801233234.png]()
访问 device.php 的时候状态码是200的
![QQ截图20210801233300.png]()