On Wed, Feb 28, 2018 at 4:08 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
Any ideas on how to sort out permissions when systemd is managing autofs? I have googled, but all seems to discuss when you set up autofs yourself. I can do that. But we are trying to make this less complicated for the people who are managing the systems.
Not related at all.
Not sure what you mean. I meant that having the user add this to the /etc/fstab entry that they want automounted when accessed makes is easier for the untrained user: x-systemd.automount,noauto Editing a number of automount files and making parts of the mount directories is beyond their capabilities. We have bigger fish to fry with our users...
Mount the disk by your preferred method, then use chmod and chown to change the permissions normally.
The users should not be changing the permissions on files. At least not via a command they have to run. Then they could just as well mount the thing by hand and we skip the autofs thing. Desktops like KDE sort this out for USB disks. So there is no technical reason this cannot be done. In our case, these are SATA disks in removable drive bays, and we expect them to show up in a specified place when they are inserted. They are used for data backup. The more idiot-proof we can make this the better. I know, they will just build bigger idiots. But it keeps us in a job... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org