Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow netatalk to run as non-root #1914

Open
rdmark opened this issue Jan 25, 2025 · 0 comments
Open

Allow netatalk to run as non-root #1914

rdmark opened this issue Jan 25, 2025 · 0 comments

Comments

@rdmark
Copy link
Member

rdmark commented Jan 25, 2025

In this day and age, it's getting common for people to want to run services as regular users in a sandboxed environment, without the need for root access to the host system.

In the context of netatalk, you would want to for instance to spin up a quick AFP server for sharing the contents of your home directory to other Macs.

Right now, there's no logic or validation that stops one from launching the netatalk controller daemon and its child daemons as a regular user. In fact, it appears to mostly work. However, we run into (quite insidious) errors when trying to actually mount f.e. the home directory from a client.

I suspect that there's something about the logic for creation of and writing to the CNID database that assumes the controlling daemons run as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant