]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fileio: update warning message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Sep 2019 09:11:19 +0000 (18:11 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Sep 2019 12:11:18 +0000 (21:11 +0900)
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;
 }