files icon indicating copy to clipboard operation
files copied to clipboard

Authenticate to perform admin tasks

Open codygarver opened this issue 7 years ago • 6 comments

If I try to move, rename, paste, etc into folders I don't have permission to mess with, Marlin should ask me to authenticate and then perform those tasks.

Bounty: https://www.bountysource.com/issues/967985-authenticate-to-perform-admin-tasks

codygarver avatar Oct 12 '17 10:10 codygarver

The support for admin:// backend was added in gvfs 1.29.4 more than a year ago, but there's not much one can (or should) do until Elementary is itself upgraded to a newer Ubuntu release.

ghost avatar Oct 23 '17 22:10 ghost

See also https://github.com/elementary/code/issues/679.

Files successfully opens admin:/// as root (after password dialog) and navigation works OK using icon clicks and history buttons but there are issues with navigating with the pathbar with this protocol.

jeremypw avatar Jun 01 '19 10:06 jeremypw

@elementary/ux Should the privilege elevation be temporary and return to normal after the operation is carried out?

jeremypw avatar Jun 01 '19 10:06 jeremypw

@jeremypw yeah, and ideally it would be scoped to that tab as well to not mess up other file permissions or anything. Maybe we could distinguish that tab to show it has admin permissions?

cassidyjames avatar Jun 25 '19 23:06 cassidyjames

For copying/moving a file it should be a one-time action.

For opening a folder, it should open up a new window (or a new tab with SUDO at the top or something similar to that)

nobodywasishere avatar Jul 14 '19 08:07 nobodywasishere

I had this same issue: https://github.com/elementary/files/issues/2112

Just wanted to throw in my 2 cents that: It would be really nice to make it easier to access files and such.

SephReed avatar Feb 04 '23 23:02 SephReed