On Wed, Feb 28, 2018 at 6:57 PM, Peter Suetterlin <pit@astro.su.se> wrote:
No, because you cannot overrule the setting of an ext4 (or btrfs or....) filesystem when mounting it.
Inside the file system we cannot override. But the permissions of the mount point directory itself - which are NOT in the mounted file system but are in the file system on which the drive is mounted - does control what can be done in the top level of the mount point. And that is what I am after. When we used /etc/fstab to mount directly, the directory on which the disk was mounted had to exist in advance, and we controlled the permissions of that directory when we created it. The mount via /etc/fstab did not change those permissions. When systemd is setting up /etc/fstab entries to be handled by autofs, we seem to have lost control over the permission of the mount directory. This is a show stopper. Unless we created a directory on the disk (where we control the directory permissions) and everything had to happen in that sub-directory. But this seems ridiculous.
This is likely *not* autofs, but the systemd implementation of automounting. Autofs leaves the TLD as it is defined on the disk.
systemd uses autofs. It just sets up the autofs files based on /etc/fstab and various files scattered all over the place in a sloppy fashion. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org