mirror of
https://github.com/ronggang/transmission-web-control.git
synced 2025-04-04 20:06:28 +00:00
Update README.md
更新自动更新的权限配置
This commit is contained in:
parent
a42f6e8b7e
commit
223b388e2f
10
README.md
10
README.md
|
@ -23,6 +23,16 @@
|
|||

|
||||
|
||||
## 安装方法及更多内容,请参考:[中文帮助](https://github.com/ronggang/transmission-web-control/wiki/Home-CN)
|
||||
### DSM7.0
|
||||
在这个版本中,需要额外修改权限以实现自动更新的功能
|
||||
在 `root` 权限下执行以下命令,其中:
|
||||
- `YOUR_USERNAME` 替换为你登录和更新脚本时候选择的用户
|
||||
- `/var/packages/transmission/target/share/transmission/web/` 这串路径为 transmission 的安装路径(默认应该是这个)
|
||||
```shell
|
||||
sed -i '/sc-transmission/s/$/YOUR_USERNAME/' /etc/group
|
||||
chown sc-transmission:sc-transmission /var/packages/transmission/target/share/transmission/web/* -R
|
||||
chmod 774 /var/packages/transmission/target/share/transmission/web/* -R
|
||||
```
|
||||
|
||||
## 更新日志 [查看](https://github.com/ronggang/transmission-web-control/blob/master/CHANGELOG.md)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user