On Thu, 1 Mar 2018 08:34:31 +0100 Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
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.
I don't think so. I regularly set the permissions of the mount point to dr-x------ so that NOBODY has write permission to the directory and therefore cannot accidentally write data onto the parent disk before the real filesystem is mounted. After the filesystem is mounted it has whatever permissions were set for that filesystem, and root can change them in the normal way. Note, this is not a crippled fat filesystem with no user permissions, nor does it happen to be ext4, if that matters. But I would be very surprised if ext4 behaved differently. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org