Dave Howorth wrote:
On Tue, 07 Jul 2020 11:04:11 +0200 Per Jessen <per@computer.org> wrote:
Roger Oberholtzer wrote:
Otherwise one can wind up writing to the directory 'under' the mount point, if you know what I mean. If they only mount /array, I don't know how the clients will see if a disk under /array is really mounted, or if they are just writing to the directory on which the disk should have been mounted.
If it were me, I would probably not want to make my clients aware, but if you have to, maybe put some marker file on the filesystem for the client to check. if present => mounted.
It is perfectly possible and sensible to set the permissions of the underlying mount point to 000. Then nobody will be writing anything to the underlying filesystem :) Mounting something on top changes the permissions to whatever it has.
There was something like that lurking in the back of my mind, thanks for digging it out :-) -- Per Jessen, Zürich (19.2°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org