Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1156394

Bug#1041014: Permission of /lib64 were wrong

From "Алекс ______" <a_l_e_x_0@ro.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#1041014: Permission of /lib64 were wrong
Date 2023-07-29 00:20 +0200
Message-ID <GWDYt-3snP-11@gated-at.bofh.it> (permalink)
References <GRhYB-5Rq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

In the meantime, I tried to see which file runs /lib/systemd/systemd-timesyncd:
# file /lib/systemd/systemd-timesyncd
… interpreter /lib64/ld-linux-x86-64.so.2 …
So I took a look at its directory:
# ls -la /lib64
… /lib64 -> usr/lib64
# ls -la /usr/lib64
drw------  3 root root 4096 22. Jul 17:23 .
…
I thought, someone else than root might try to execute whatever is inside there and went on with
# chmod +rx /usr/lib64
so that I got
drwr-xr-x  3 root root 4096 22. Jul 17:23 .
This solved the problem at least once:
# systemctl restart systemd-timesyncd
worked now:
# systemctl status systemd-timesyncd
…
Active: active (running) …
…
I'm absolutely sure I had NOT altered the permissions of /usr/lib64 or any other system directories myself before having issued the aforementioned chmod command today at all, so some part of or the system or of the upgrade from Debian 11 to Debian 12 must have set the directory persmissions to drw------ (presumably, for a good reason?). Are the new permissions drwr-xr-x fine?  If they are normal, is there anything else I need to do?  If they are too permissive, should I change them back and still run strace on /lib/systemd/systemd-timesyncd (and if not, what else to do)?
Gratefully,
Alma

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1041014: systemd-timesyncd.service: Failed to execute /lib/systemd/systemd-timesyncd: Permission dienied "Al Ma" <alma0@ro.ru> - 2023-07-14 05:50 +0200
  Bug#1041014: marked as done (systemd-timesyncd.service: Failed to execute /lib/systemd/systemd-timesyncd: Permission dienied) Michael Biebl <biebl@debian.org> - 2023-07-14 08:20 +0200
    Bug#1041014: marked as done (systemd-timesyncd.service: Failed to execute /lib/systemd/systemd-timesyncd: Permission dienied) AlMa <AlMa0@ro.ru> - 2023-07-14 14:50 +0200
      Bug#1041014: marked as done (systemd-timesyncd.service: Failed to execute /lib/systemd/systemd-timesyncd: Permission dienied) Michael Biebl <biebl@debian.org> - 2023-07-14 15:00 +0200
  Bug#1041014: systemd-timesyncd.service: Failed to execute /lib/systemd/systemd-timesyncd: Permission dienied AlMa <AlMa0@ro.ru> - 2023-07-17 12:40 +0200
  Bug#1041014: systemd-timesyncd: data collected by reportbug, new journal Michael Biebl <biebl@debian.org> - 2023-07-22 22:10 +0200
    Bug#1041014: systemd-timesyncd: data collected by reportbug, new journal "Al Ma" <alma0@ro.ru> - 2023-07-22 23:10 +0200
  Bug#1041014: Permission of /lib64 were wrong "Алекс ______" <a_l_e_x_0@ro.ru> - 2023-07-29 00:20 +0200

csiph-web