[gsettings-desktop-schemas/wip/oholy/readonly-lockdown] schemas: Add "disable-writing-to-devices" lockdown option
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas/wip/oholy/readonly-lockdown] schemas: Add "disable-writing-to-devices" lockdown option
- Date: Tue, 14 May 2019 08:06:21 +0000 (UTC)
commit cfe6109b1ffb0dd73eb927fd35183a6f7a264917
Author: Ondrej Holy <oholy redhat com>
Date: Tue May 14 08:12:59 2019 +0200
schemas: Add "disable-writing-to-devices" lockdown option
Add lockdown option to prevent the user from writing files to removable
devices. If enabled, gvfs is going to mount removable devices (i.e. flash
disks, mobile phones, cameras) as read-only.
schemas/org.gnome.desktop.lockdown.gschema.xml.in | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
index 0150b32..9e97465 100644
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
@@ -71,5 +71,14 @@
and removing users, as well as changing other users settings.
</description>
</key>
+ <key name="disable-writing-to-devices" type="b">
+ <default>false</default>
+ <summary>Disable writing to removable devices</summary>
+ <description>
+ Prevent the user from writing files to removable devices. This will cause
+ that the removable devices (i.e. flash disks, mobile phones, cameras) are
+ going to be mounted as read-only.
+ </description>
+ </key>
</schema>
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]