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

Document right settings of shared cache might not be presistent after reboot #446

Open
hagenw opened this issue Jul 26, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@hagenw
Copy link
Member

hagenw commented Jul 26, 2024

In the documentation for the shared cache folder, we propose at the moment to execute the following steps to share the folder with several persons:

image

The problem is that the setfacl command might not result in persistent settings, compare https://unix.stackexchange.com/q/372244.

One approach might be to write a /etc/systemd/system/audb.service script that applies the settings after reboot:

# https://unix.stackexchange.com/a/372510
[Unit]
Description=audb shared cache rights
Requires=local-fs.target
After=local-fs.target

[Service]
ExecStart=/usr/bin/setfacl -R -d -m u::rwx,o::rx- /data/audb

[Install]
WantedBy=multi-user.target

And enable it with:

$ sudo systemctl enable audb.service
@hagenw hagenw added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant