File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,8 @@ function set_ownership_and_permissions {
285
285
return 1
286
286
fi
287
287
288
+ [[ " $( lc $DEBUG ) " == true ]] && echo " Debug: checking $path ownership and permissions."
289
+
288
290
# Find the user numeric ID if the FILES_UID environment variable isn't numeric.
289
291
if [[ " $user " =~ ^[0-9]+$ ]]; then
290
292
user_num=" $user "
@@ -329,7 +331,7 @@ function set_ownership_and_permissions {
329
331
fi
330
332
# If the path is a file, check and modify permissions if required.
331
333
elif [[ -f " $path " ]]; then
332
- # Use different permissions for private files (private keys and ACME account keys ) ...
334
+ # Use different permissions for private files (private keys and ACME account files ) ...
333
335
if [[ " $path " =~ ^.* (default\. key| key\. pem| \. json)$ ]]; then
334
336
if [[ " $( stat -c %a " $path " ) " != " $f_perms " ]]; then
335
337
[[ " $( lc $DEBUG ) " == true ]] && echo " Debug: setting $path permissions to $f_perms ."
You can’t perform that action at this time.
0 commit comments