You are not logged in.

#1 2021-06-18 18:47:09

johnnynyquist
Member
Registered: 2016-01-25
Posts: 27

[solved] configuration of bluetooth obexd to allow symlinks in paths

Hello all,
Due to some external issues I had to relocate and symlink my ~/.config folder. I can now no longer receive bluetooth file transfers because OBEXD is configured to disallow them to symlinked folders by default (see this thread and this code).

I looked over the bluetooth wiki page but could not figure out how to customize the obexd.service startup to allow symlinks (simply running obexd with --symlinks switch at startup). Any hints? I promise I will update the wiki with my newfound knowledge!

Last edited by johnnynyquist (2021-06-20 08:19:43)

Offline

#2 2021-06-19 12:39:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,337

Re: [solved] configuration of bluetooth obexd to allow symlinks in paths

The very thread you linked has the solution in the second post, what's unclear here?

If you're wondering why this works maybe read: https://wiki.archlinux.org/title/System … ided_units this is in so far slightly a special case as we are talking a user service so the paths talked about in that section have to be relevantly adjusted for an user context, but the second reply in the thread you linked sets this up correctly, see https://wiki.archlinux.org/title/System … w_it_works

Last edited by V1del (2021-06-19 12:45:18)

Offline

#3 2021-06-20 09:00:02

johnnynyquist
Member
Registered: 2016-01-25
Posts: 27

Re: [solved] configuration of bluetooth obexd to allow symlinks in paths

The only explanation for me not trying this is superstition about distros. The solution does indeed work. I did update the wiki.

Offline

#4 2021-06-20 09:57:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,337

Re: [solved] configuration of bluetooth obexd to allow symlinks in paths

It's one of the big reasons for how systemd works that the service files in question can be shipped by upstream, so solutions based on systemd service files shipped by upstream packages will work across distributions.

Offline

Board footer

Powered by FluxBB