summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-09-09 01:29:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-09-09 01:30:49 +0900
commit20eef7c55cfdd83f953c6a332aaad0caba4fb60f (patch)
tree36f4bb479637bb3f941e0eebfae00eb5e0ecbafd /src/udev
parent5abba26e2f9eb9336e701228220f0ef62c95f316 (diff)
downloadsystemd-20eef7c55cfdd83f953c6a332aaad0caba4fb60f.tar.gz
udev: also logs file permission
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 21f84b25ce..8631a26c98 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -2304,7 +2304,7 @@ static int apply_static_dev_perms(const char *devnode, uid_t uid, gid_t gid, mod
return log_error_errno(errno, "Failed to chown '%s' %u %u: %m",
device_node, uid, gid);
else
- log_debug("chown '%s' %u:%u", device_node, uid, gid);
+ log_debug("chown '%s' %u:%u with mode %#o", device_node, uid, gid, mode);
(void) utimensat(AT_FDCWD, device_node, NULL, 0);
return 0;