Summary: | File permissions ignored when run as root | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Bill Davenport <bdavnpt2002> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | caleb |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bill Davenport
2002-12-18 15:24:10 UTC
This seems somewhat strange to me, though it's just my opinion. Do other unix editors provide this functionality? If I was logged in as a root, I would think I should be able to edit any file regardless of the permissions without warning. The idea here being that you shouldn't be doing this project editing as root - and if you are its because you need to override ownership/group permissions. Certainly if I use vi (perhaps not the greatest example) I have to use :w! to write out a read-only file I've chosen to edit. If I use emacs I also have to take additional actions to edit a read-only file. On the other hand, I just tried out all of the gui editors on my RedHat 8.0 system and none of them even notice the file is read-only, or otherwise stop me from editting the file, so kdevelop doesn't behave any different from the other apps in this regard. I generally do all of my software editting as root, simply because it's easier overall to not worry about being able to build and install a kernel or app I'm working on. This clearly isn't a problem if I just change my habits to not use root except for the limited times I truely need the privs... Bill Okay, let's reassign this to the Kate folks and see what they think about it. I think if you are root, you want no warnings, and the warning msg would be misleading as you CAN write to the file, the permission doesn't interest will close that bug as WONTFIX, if any complains please reopen |