Hello,For protocol file systems such as MTP, does gvfs support mounting in read-only mode?
It is not currently possible to mount a specific location as a read-only. However, there is
mount-removable-storage-devices-as-read-only key in
org.gnome.desktop.lockdown schema, which causes that all devices are mounted as read-only, so also MTP. See https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/blob/master/schemas/org.gnome.desktop.lockdown.gschema.xml.in#L74-81.
Thank you very much! !
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.