fileio: update warning message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Sep 2019 09:11:19 +0000 (18:11 +0900)
committerMichael Biebl <biebl@debian.org>
Tue, 19 Nov 2019 08:17:12 +0000 (08:17 +0000)
(cherry picked from commit 0f93577647cef5f683d83e89cc63f6124885e708)
(cherry picked from commit 3e1267cf50716ce4f737e6c07294b571a634a512)

Gbp-Pq: Name fileio-update-warning-message.patch

src/basic/fileio.c

index 623e43e4caeae97e9f1c1c78c2c84d581f8e51f9..a9c0fd20e14fa989a0f42701a760b9afa6442d8e 100644 (file)
@@ -930,10 +930,10 @@ int warn_file_is_world_accessible(const char *filename, struct stat *st, const c
 
         if (unit)
                 log_syntax(unit, LOG_WARNING, filename, line, 0,
-                           "%s has %04o mode that is too permissive, please adjust the access mode.",
+                           "%s has %04o mode that is too permissive, please adjust the ownership and access mode.",
                            filename, st->st_mode & 07777);
         else
-                log_warning("%s has %04o mode that is too permissive, please adjust the access mode.",
+                log_warning("%s has %04o mode that is too permissive, please adjust the ownership and access mode.",
                             filename, st->st_mode & 07777);
         return 0;
 }