Skip to content

Is the concept corect? #11

@hajosc

Description

@hajosc

My apologies, I may just not understand the idea behind auto-sudoedit, but I do have difficulties understanding the idea behind it:

  • I open a file that is rw-r--r-- root:root as user foo. Emacs opens it.
  • I try to edit it, but emacs says it's only rw for root, foo can't edit it.
  • I try to save it (without editing), emacs says "no need to save, no changes"

Shouldn't auto-sudoedit instead intercept the "find-file" function and say "hey, you won't be able to edit/save this file, do you want to open it as root via tramp instead"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions