All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] Leave config files writable for owner
@ 2024-12-05 13:32 Fiona Klute
  2024-12-05 14:39 ` [BlueZ] " bluez.test.bot
  2024-12-05 15:00 ` [PATCH BlueZ] " Luiz Augusto von Dentz
  0 siblings, 2 replies; 6+ messages in thread
From: Fiona Klute @ 2024-12-05 13:32 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Fiona Klute

This is needed both so the owner can adjust config as needed, and for
distribution builds to be able to move/delete files as part of the
build without adjusting permissions themselves. Limiting writes from
the running service needs to be done in the systemd unit (already the
case) or init script.

See also: https://lore.kernel.org/linux-bluetooth/4d1206df-598b-4a68-8655-74981b62ecca@gmx.de/T/
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 297d0774c..29018a91c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
 statedir = $(localstatedir)/lib/bluetooth
 
 bluetoothd-fix-permissions:
-	install -dm555 $(DESTDIR)$(confdir)
+	install -dm755 $(DESTDIR)$(confdir)
 	install -dm700 $(DESTDIR)$(statedir)
 
 if DATAFILES
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-07 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 13:32 [PATCH BlueZ] Leave config files writable for owner Fiona Klute
2024-12-05 14:39 ` [BlueZ] " bluez.test.bot
2024-12-05 15:00 ` [PATCH BlueZ] " Luiz Augusto von Dentz
2024-12-06  9:46   ` Bastien Nocera
2024-12-06 11:53     ` Fiona Klute
2024-12-07 11:34       ` Bastien Nocera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.