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 @@ -234,6 +234,8 @@ function set_ownership_and_permissions {
234234 return 1
235235 fi
236236
237+ [[ " $( lc $DEBUG ) " == true ]] && echo " Debug: checking $path ownership and permissions."
238+
237239 # Find the user numeric ID if the FILES_UID environment variable isn't numeric.
238240 if [[ " $user " =~ ^[0-9]+$ ]]; then
239241 user_num=" $user "
@@ -278,7 +280,7 @@ function set_ownership_and_permissions {
278280 fi
279281 # If the path is a file, check and modify permissions if required.
280282 elif [[ -f " $path " ]]; then
281- # Use different permissions for private files (private keys and ACME account keys ) ...
283+ # Use different permissions for private files (private keys and ACME account files ) ...
282284 if [[ " $path " =~ ^.* (default\. key| key\. pem| \. json)$ ]]; then
283285 if [[ " $( stat -c %a " $path " ) " != " $f_perms " ]]; then
284286 [[ " $( lc $DEBUG ) " == true ]] && echo " Debug: setting $path permissions to $f_perms ."
You can’t perform that action at this time.
0 commit comments