Skip to content

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

@hagenw

Description

@hagenw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions