[Bug 52070] New: File permissions ignored when run as root

Bill Davenport bdavnpt2002 at yahoo.com
Wed Dec 18 15:25:05 UTC 2002

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: File permissions ignored when run as root
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: bdavnpt2002 at yahoo.com

Version:           Gideon version Alpha 2 (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 
OS:          Linux

When looged in as root I've discovered that I can edit files marked read-only without any warnings. Ideally, I should be able to open a read-only file and modify it within the editor, and then save as a new file, but attempts to overwrite the read-only version should result in an error dialog box, or otherwise ask for confirmation before overwritting the file.

This is particularly important if the file being modified is under the control of a source control system that only checks files marked writeable as potentially being changed as part of its file checkin process.

More information about the KDevelop-devel mailing list