Comment 2 for bug 782355

Revision history for this message
Marcus Haslam (marcus-haslam) wrote : Re: [Bug 782355] [NEW] Invoke sudo and present password prompt when permission is denied to write to a file

I'm out of the office until 1st August.

On 13 May 2011, at 20:06, Mike Doherty <email address hidden>
wrote:

> Public bug reported:
>
> Binary package hint: nano
>
> If a user can read but not write a file, as often happens with system
> configuration files, then they need to be root or use sudo to edit the
> file. If they forget, they won't notice until they're presented with a
> permission error when attempting to save. This can result in lost work
> for new users who don't know how to save the edited file elsewhere.
>
> Nano should offer to invoke sudo and present the password prompt to
> gain
> the elevated privileges needed in these cases.
>
> ** Affects: hundredpapercuts
>     Importance: Undecided
>         Status: New
>
> ** Affects: nano
>     Importance: Unknown
>         Status: Unknown
>
> ** Affects: nano (Ubuntu)
>     Importance: Undecided
>         Status: New
>
> ** Bug watch added: GNU Savannah Bug Tracker #26000
>   http://savannah.gnu.org/bugs/?26000
>
> ** Also affects: nano via
>   http://savannah.gnu.org/bugs/?26000
>   Importance: Unknown
>       Status: Unknown
>
> ** Description changed:
>
>  Binary package hint: nano
>
>  If a user can read but not write a file, as often happens with system
>  configuration files, then they need to be root or use sudo to edit
> the
> - file. If they forget, they'll be presented with a permission error
> when
> - attempting to save. This can result in lost work for new users who
> don't
> - know how to save the edited file elsewhere.
> + file. If they forget, they won't notice until they're presented
> with a
> + permission error when attempting to save. This can result in lost
> work
> + for new users who don't know how to save the edited file elsewhere.
>
>  Nano should offer to invoke sudo and present the password prompt to
> gain
>  the elevated privileges needed in these cases.
>
> ** Also affects: hundredpapercuts
>   Importance: Undecided
>       Status: New
>
> --
> You received this bug notification because you are a member of
> Papercutters, which is subscribed to One Hundred Paper Cuts.
> https://bugs.launchpad.net/bugs/782355
>
> Title:
>  Invoke sudo and present password prompt when permission is denied to
>  write to a file
>
> Status in One Hundred Paper Cuts:
>  New
> Status in nano:
>  Unknown
> Status in “nano” package in Ubuntu:
>  New
>
> Bug description:
>  Binary package hint: nano
>
>  If a user can read but not write a file, as often happens with system
>  configuration files, then they need to be root or use sudo to edit
> the
>  file. If they forget, they won't notice until they're presented
> with a
>  permission error when attempting to save. This can result in lost
> work
>  for new users who don't know how to save the edited file elsewhere.
>
>  Nano should offer to invoke sudo and present the password prompt to
>  gain the elevated privileges needed in these cases.