I have installed org.apache.netbeans with flatpak. Now, I want the app to have read-only access to /usr/local/bin. So it can run some binaries like lessc installed via npm.
In flatpak's docs it is explained that permission options may be added to the overrides.
The following permission options can also be added:
:ro- read-only access:rw- read/write access (this is the default):create- read/write access, and create the directory if it doesn’t exist
So I tried this command:
sudo flatpak override --filesystems=/usr/local/bin:ro org.apache.netbeans
But I get this error:
error: Unknown option --filesystems=/usr/local/bin
How do I add the read-only option to the permission?