From eb17412bb6fc6411542a575356f80a56504670a3 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 10:48:48 +0800 Subject: [PATCH 1/7] style: Wiki special classification Separate problem solutions. --- README.md | 48 ++---------------------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) 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)」。 ## 參數 From e73c5d5a422cc3109290eb490e761755bd4bb1b6 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 10:57:14 +0800 Subject: [PATCH 2/7] style: Add two spaces --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7675e53..29bb954 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 -* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 + * 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 ## 參數 From 187bf100f20026de7f03b3f816862b914a393fc8 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 11:00:57 +0800 Subject: [PATCH 3/7] style: Remove 2 spaces --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 29bb954..f085801 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 - * 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 +* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 ## 參數 From 318f73efbe89eae3b889c3aa1ebca15d840cb451 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 11:10:09 +0800 Subject: [PATCH 4/7] style: Add 1 spaces --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f085801..57ee69f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 -* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 +* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 ## 參數 From ed0b98e1b71240b4d45db93b4225af85219f1a07 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 11:17:33 +0800 Subject: [PATCH 5/7] style: Try to fix again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57ee69f..9175f3f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 -* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 +* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 ## 參數 From 81c5567433ceb0ab8dcf77d4cec979710569af00 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 11:23:55 +0800 Subject: [PATCH 6/7] style: Try the correction again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9175f3f..187dd06 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 -* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 +* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 ## 參數 From 1195b2ccca87ce10f62f333c7c42ffa8c58d9e3f Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 14 Jun 2020 11:29:45 +0800 Subject: [PATCH 7/7] style: The problem is not a problem --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 187dd06..7675e53 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ or ### 解決問題 -* [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)。 +* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 ## 參數