Text Editor is not offering to save file using admin:// when access::can-write is FALSE
[christian@fedora ~]$ gio info !$
gio info /etc/dnf/dnf.conf
display name: dnf.conf
edit name: dnf.conf
name: dnf.conf
type: regular
size: 134
uri: file:///etc/dnf/dnf.conf
local path: /etc/dnf/dnf.conf
unix mount: /dev/mapper/luks-941f633e-4685-4d2e-82cc-7381069f196d[/root] / btrfs rw,relatime,seclabel,compress=zstd:1,ssd,space_cache,subvolid=600,subvol=/root
attributes:
standard::type: 1
standard::name: dnf.conf
standard::display-name: dnf.conf
standard::edit-name: dnf.conf
standard::copy-name: dnf.conf
standard::icon: text-plain, text-x-generic, text-plain-symbolic, text-x-generic-symbolic
standard::content-type: text/plain
standard::fast-content-type: application/octet-stream
standard::size: 134
standard::allocated-size: 4096
standard::symbolic-icon: text-plain-symbolic, text-x-generic-symbolic, text-plain, text-x-generic
etag::value: 1645467993:767835
id::file: l34:217957
id::filesystem: l34
access::can-read: TRUE
access::can-write: FALSE
access::can-execute: FALSE
access::can-delete: FALSE
access::can-trash: FALSE
access::can-rename: FALSE
time::modified: 1645467993
time::modified-usec: 767835
time::access: 1647868852
time::access-usec: 58778
time::changed: 1645467993
time::changed-usec: 773835
time::created: 1645467993
time::created-usec: 767835
unix::device: 34
unix::inode: 217957
unix::mode: 33188
unix::nlink: 1
unix::uid: 0
unix::gid: 0
unix::rdev: 0
unix::block-size: 4096
unix::blocks: 8
owner::user: root
owner::user-real: root
owner::group: root
selinux::context: system_u:object_r:etc_t:s0
xattr-sys::security.selinux: system_u:object_r:etc_t:s0\x00
Open works fine. It is not showing the read-only
hint and also is not offering to save using admin://
.
Edited by Christian Hergert