[Bug 60758] bad bug - QtEditor will overwrite read-only files without prompting

Jon Smirl jonsmirl at yahoo.com
Thu Nov 6 22:38:07 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60758     




------- Additional Comments From jonsmirl at yahoo.com  2003-11-06 22:37 -------
I believe the problem here is when kdevelop is running as root it can write files even if the are marked read-only. Maybe we need to stat them first and check for write permission?

-r--r--r--    1 jonsmirl jonsmirl    37126 Nov  6 16:32 radeon_driver.c
did a save
-r--r--r--    1 jonsmirl jonsmirl    37126 Nov  6 16:34 radeon_driver.c

vi does not have same problem when running as root




More information about the KDevelop-devel mailing list