diff --git a/README.md b/README.md index 161f259..7675e53 100644 --- a/README.md +++ b/README.md @@ -85,53 +85,9 @@ or # bash install-release.sh --remove ``` -### 證書權限問題 +### 解決問題 -假設,這書文件所在的路徑為 `/srv/http/`。 - -文件分別為 `/srv/http/example.com.key` 和 `/srv/http/example.com.pem`。 - -方案一: - -1. `/srv/http/` 的默認權限一般為 755; -2. `/srv/http/example.com.key` 的默認權限一般為 600; -3. `/srv/http/example.com.pem` 的默認權限一般為 644。 - -將 `/srv/http/example.com.key` 修改為 644 即可: - -``` -# chmod 644 /srv/http/example.com.key -``` - -方案二: - -``` -# id nobody -``` - -1. 显示出来的结果可能是: - - ``` - uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup) - ``` - - 相应的,只需要执行: - - ``` - # chown -R nobody:nogroup /srv/http/ - ``` - -2. 显示出来的结果也可能是: - - ``` - uid=65534(nobody) gid=65534(nobody) groups=65534(nobody) - ``` - - 相应的,只需要执行: - - ``` - # chown -R nobody:nobody /srv/http/ - ``` +* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 ## 參數