Bug 1709937

Summary: Add "mount-removable-storage-devices-as-read-only" option
Product: Red Hat Enterprise Linux 8 Reporter: Ondrej Holy <oholy>
Component: gsettings-desktop-schemasAssignee: Ondrej Holy <oholy>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: tpelka
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gsettings-desktop-schemas-3.28.1-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:14:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1662193    

Description Ondrej Holy 2019-05-14 15:08:28 UTC
Add "mount-removable-storage-devices-as-read-only" option, which is needed to implement read-only lockdown for removable devices.

Comment 2 Tomas Pelka 2019-05-31 08:37:41 UTC
Connected my android phone

$ gio info /run/user/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C010%5D
display name: mtp:host=%5Busb%3A001%2C010%5D
edit name: mtp:host=%5Busb%3A001%2C010%5D
name: mtp:host=%5Busb%3A001%2C010%5D
uri: file:///run/user/1000/gvfs/mtp:host=%255Busb%253A001%252C010%255D
attributes:
  standard::name: mtp:host=%5Busb%3A001%2C010%5D
  standard::display-name: mtp:host=%5Busb%3A001%2C010%5D
  standard::edit-name: mtp:host=%5Busb%3A001%2C010%5D
  standard::copy-name: mtp:host=%5Busb%3A001%2C010%5D
  standard::icon: application-octet-stream, application-x-generic
  standard::content-type: application/octet-stream
  standard::fast-content-type: application/octet-stream
  standard::symbolic-icon: application-octet-stream-symbolic, application-x-generic-symbolic, application-octet-stream, application-x-generic

cant see can-write/can-rename/can-delete

Tried to write something to /run/user/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C010%5D, got "Prmission denised".

Verified within gsettings-desktop-schemas-3.32.0-1.el8

Comment 4 errata-xmlrpc 2019-11-05 22:14:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3553