Bug 87668 - ask password when trying to save without write permissions to file
Summary: ask password when trying to save without write permissions to file
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 125691 193403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-21 11:29 UTC by Anssi Hannula
Modified: 2012-10-25 23:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anssi Hannula 2004-08-21 11:29:51 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Mandrake RPMs

When trying to save a document in kwrite/kate, and user doesn't have the write permissions to the file, kwrite/kate displays an error stating to check permissions.

I think it would be far more convenient for user if it prompted for root password, or at least have a button in the error message that opens root password dialog.
Comment 1 rgpublic 2005-01-09 13:11:07 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Anssi Hannula 2005-04-03 15:56:20 UTC
Hmm, maybe it could somehow (maybe begin a button) present the user a list of the users who have a permission to that file, and then prompt the password of the username the user selected.
Comment 3 John Voltz 2007-04-26 00:38:27 UTC
Why not just ask for the password of the file's owner, then save the modified file with the owner uid?
Comment 4 Nigel Stewart 2007-06-11 04:27:32 UTC
I think the owner, group and permissions ought to be preserved,
and it should be a choice of accounts that have permission to
change the file.  

This would be very handy for system administration.
Comment 5 Thomas Friedrichsmeier 2007-12-10 00:31:50 UTC
*** Bug 125691 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2009-06-30 09:49:26 UTC
*** Bug 193403 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Cullmann 2012-10-25 23:32:55 UTC
We can not switch our user on runtime, password asking won't work therefore.
We could implement some wrapper app that then copies the file to destinations and so on but that really is out of scope.