I have been using the following guideline (see link below) to isolate versions of Ubuntu on my rig by introducing a requirement for a password to access them (through FILES etc): -
How to make Ubuntu ask for password when mounting partitions?.
This basically modified /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla as detailed in this question. (See the link for details.)
However, this doesn't now seem to work for the latest OS Noble Numbat 24.04.Can someone suggest what I might be doing wrong and/or suggest another way to do this.
Thanks.