This makes the result more readable.
basePath := filepath.Join(group, "files")
const errMsg = `
+
The actual permissions and user/group of files and directories are not used
(except for +x on files). 0644/0755 and current remote user/group is used per
default. Apply different file permissions via permissions.yaml. To prevent
defer os.Remove("files-invalid-type/files/invalid")
const errMsg = `
+
The actual permissions and user/group of files and directories are not used
(except for +x on files). 0644/0755 and current remote user/group is used per
default. Apply different file permissions via permissions.yaml. To prevent