[gsettings-desktop-schemas/wip/oholy/readonly-lockdown] schemas: Add "mount-removable-storage-devices-as-read-only" option



commit b9c2b0b5941784160a99906badda72044fa6522f
Author: Ondrej Holy <oholy redhat com>
Date:   Tue May 14 08:12:59 2019 +0200

    schemas: Add "mount-removable-storage-devices-as-read-only" option
    
    Add lockdown option to prevent the user from writing and from modifying
    files on removable storage devices. If enabled, gvfs is going to mount
    removable storage devices (i.e. flashdisks, mobile phones, cameras) as
    read-only.

 schemas/org.gnome.desktop.lockdown.gschema.xml.in | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in 
b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
index 0150b32..568a809 100644
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
@@ -71,5 +71,13 @@
         and removing users, as well as changing other users settings.
       </description>
     </key>
+    <key name="mount-removable-storage-devices-as-read-only" type="b">
+      <default>false</default>
+      <summary>Mount removable storage devices as read-only</summary>
+      <description>
+        Prevent the user from writing and from modifying files on removable
+        storage devices (i.e. flash disks, mobile phones, cameras).
+      </description>
+    </key>
   </schema>
 </schemalist>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]