On Sun, 10 Mar 2024 02:36:22 +0100, Marcell Meszaros <[email protected]> wrote:
> >> Repo's kate fully supports prompting the user for root write > >> access, and also can open files via the admin:// protocol (if > >> extra/kio-admin package is installed). > > Non-root Kate can do everything a root Kate would be able to do. > If you opened a file with read-only access, upon saving, it will > prompt you for root credentials. For me not. Maybe if used within a full-fledged KDE environment. I use kate as a standalone editor without using a KDE environment, nor a gnome environment, but a simple window manager without any desktop envitronment. For me it simpky refuses to save with the message > The document could not be saved, as it was not possible to write > <filename>. Check that you have write access to this file or that > enough disk space is available. > If you want to open something for which your user doesn't have read > access, you need to install the 'kio-admin' package from the repo. > And then open that directory or file with the admin:// protocol. > > E.g., the following directory is only accessible > (readable/traversable) by root: > > /etc/NetworkManager/system-connections/ > > Open it by entering the following path in Kate's Open File dialog: > > admin:///etc/NetworkManager/system-connections/ Wow. That is much manual overhead. I usually work at the terminal and type `kate <filename>`. So, still, kate does _not_ allow to be a editor for simple root usage, like `gedit` allows, like `medit` allows, like `mcedit` allows. I still see valid use cases for this package and I continue to provide it.
pgpr7444YpaeK.pgp
Description: OpenPGP digital signature
