From: Yu Watanabe Date: Wed, 11 Sep 2019 09:11:19 +0000 (+0900) Subject: fileio: update warning message X-Git-Tag: archive/raspbian/243-8+rpi1^2~97 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=41c21c995a7ebaf3d06e9436c64a43cca520b23a;p=systemd.git fileio: update warning message (cherry picked from commit 0f93577647cef5f683d83e89cc63f6124885e708) (cherry picked from commit 3e1267cf50716ce4f737e6c07294b571a634a512) Gbp-Pq: Name fileio-update-warning-message.patch --- diff --git a/src/basic/fileio.c b/src/basic/fileio.c index 623e43e4..a9c0fd20 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -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; }