bugGNU nano - Bugs: bug #26000, Enhancement request: prompt for...


bug #26000: Enhancement request: prompt for password when permission denied

Submitted by:  Richard Neill <richardneill>
Submitted on:  Wed 25 Mar 2009 11:22:27 PM UTC  
Severity:  1 - Wish Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 17 May 2014 12:09:42 PM UTC, comment #2:

Well, it is not nano's business to handle permissions. But... it can do much, much better at warning the user about unwritableness of the file -- better than just putting up an almost unnoticeable message tagged onto the "lines read" one. See bug #42383.

Benno Schulenberg <bens>
Project Administrator
Sun 23 Feb 2014 12:53:22 PM UTC, comment #1:

Hmm... I don't think that's a good idea -- one reason is that it assumes the user is allowed to do sudo. How about emitting a BELL when write permission is lacking (in addition to the warning in the status bar)? And meanwhile, it's easy enough to work your way around it: save the file as for example ./oops and after exiting nano sudo cp oops to destination.

Benno Schulenberg <bens>
Project Administrator
Wed 25 Mar 2009 11:22:27 PM UTC, original submission:

If I had $1 for every time I manage to forget to "sudo" before trying to edit a file as root, and then get into trouble when I try to save the file, I'd be a wealth (and far less stressed) person).

When nano generates the message: "Error saving file, permission denied", could we possibly have the option to prompt to enter the relevant (usually root) password?


Richard Neill <richardneill>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by doherty
  • -email is unavailable- added by richardneill (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 17 May 2014 12:09:42 PM UTC bens Severity3 - Normal => 1 - Wish
        StatusNeed Info => Wont Fix
        Open/ClosedOpen => Closed
    Sun 23 Feb 2014 12:53:22 PM UTC bens StatusNone => Need Info
    Wed 11 May 2011 07:34:23 PM UTC doherty Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3