projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87932c
)
udev: also logs file permission
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 8 Sep 2019 16:29:27 +0000
(
01:29
+0900)
committer
Michael Biebl
<biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000
(21:01 +0000)
(cherry picked from commit
20eef7c55cfdd83f953c6a332aaad0caba4fb60f
)
(cherry picked from commit
4b92ffccaa865382f18d0e98cecec1ab1085759e
)
Gbp-Pq: Name udev-also-logs-file-permission.patch
src/udev/udev-rules.c
patch
|
blob
|
history
diff --git
a/src/udev/udev-rules.c
b/src/udev/udev-rules.c
index 21f84b25ce86a441015a3c797c93d46c188b78ed..8631a26c982dbe93bc662f1f1b6f08fe2a182768 100644
(file)
--- 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;