From 3f9b0e4dfc5c62c78f79eac70efad8244c1a5bbc Mon Sep 17 00:00:00 2001 From: L0g0ff Date: Jan 01 2026 13:57:47 +0000 Subject: Fix Bluetooth file receiving on Atomic Desktop variants --- diff --git a/common.yaml b/common.yaml index 8f58cae..f4caeab 100644 --- a/common.yaml +++ b/common.yaml @@ -179,6 +179,14 @@ postprocess: install -dm0755 /usr/lib/systemd/journald.conf.d/ echo -e "[Journal]\nStorage=persistent" > /usr/lib/systemd/journald.conf.d/10-persistent.conf + # Enable --symlinks flag for obexd to allow Bluetooth file receiving + # on atomic/immutable systems where /home is a symlink to /var/home. + # Without this flag, obexd refuses to follow symlinks for security reasons, + # causing "Operation not permitted" errors when receiving files. + # See: https://github.com/L0g0ff/KompassOS/issues/61 + install -dm0755 /usr/lib/systemd/user/obex.service.d/ + echo -e "[Service]\nExecStart=\nExecStart=/usr/libexec/bluetooth/obexd --symlinks" > /usr/lib/systemd/user/obex.service.d/10-symlinks.conf + # See: https://src.fedoraproject.org/rpms/glibc/pull-request/4 # Basically that program handles deleting old shared library directories # mid-transaction, which never applies to rpm-ostree. This is structured as a