Privilege elevation for file operations
jessevdk@gmail.com
Submitted byLink to original bug (#617979)
Description
I'm sure this has been discussed before, but in light of this release cycle I'd like to raise the question whether it would be possible within the gio/gvfs infrastructure to implement elevating privileges for certain file operations (such as reading, writing) using for example policy kit. I unfortunately don't know enough of the details to understand whether such a thing would be possible, although given the abstract nature of gio and the implementation of gvfs daemons handling things out of process, I could imagine it's possible. If so, I'm willing to work on this (something like this would be great for example for gedit, which is really lacking at the moment to properly elevating rights to read/write root owned configuration files etc.)