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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

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

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>
Group 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>
Group 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?

Thanks!

Richard Neill <richardneill>

 

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

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-17 bens Severity3 - Normal 1 - Wish
        StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
    2014-02-23 bens StatusNone Need Info
    2011-05-11 doherty Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code