Blame SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch

414955
From 1dec88b007a13860ae8da33687fe4d496053ec98 Mon Sep 17 00:00:00 2001
414955
From: Ondrej Holy <oholy@redhat.com>
414955
Date: Tue, 14 May 2019 08:12:59 +0200
414955
Subject: [PATCH] schemas: Add "mount-removable-storage-devices-as-read-only"
414955
 option
414955
414955
Add lockdown option to prevent users from writing or modifying files
414955
on removable storage devices. If enabled, gvfs is going to mount removable
414955
storage devices (i.e. flashdisks, mobile phones, cameras) as read-only.
414955
---
414955
 schemas/org.gnome.desktop.lockdown.gschema.xml.in | 8 ++++++++
414955
 1 file changed, 8 insertions(+)
414955
414955
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
414955
index 0150b32..d31fb77 100644
414955
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
414955
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
414955
@@ -71,5 +71,13 @@
414955
         and removing users, as well as changing other users settings.
414955
       </description>
414955
     </key>
414955
+    <key name="mount-removable-storage-devices-as-read-only" type="b">
414955
+      <default>false</default>
414955
+      <summary>Mount removable storage devices as read-only</summary>
414955
+      <description>
414955
+        Prevent users from writing or modifying files on removable storage
414955
+        devices (i.e. flash disks, mobile phones, cameras).
414955
+      </description>
414955
+    </key>
414955
   </schema>
414955
 </schemalist>
414955
-- 
414955
2.21.0
414955