Messages in this thread | | | Date | Sun, 4 Jul 1999 07:42:15 -0400 (EDT) | From | "Mike A. Harris" <> | Subject | Re: Odd filesystem permission handling |
| |
On Fri, 18 Jun 1999, Arvind Sankar wrote:
>> Mike A. Harris writes: >> >> This must be stopped: >> >> ln /etc/passwd ~/passwd >> chown user.group ~/passwd >> >> The UNIX standard would let us restrict the first operation. >> With that absurdity fixed, chown could be relaxed a bit. >> Perhaps this: allow chown when the directory owner and new >> file owner are both in the set of UIDs held by the process. >> That gives you a "take ownership" in directories you own.
Sorry for rehashing an out of date thread, but this will be stored on dejanews for eternity, and I did NOT write the above, however I am quoted as doing so.
>How would UNIX let you restrict the first operation? Are you saying that it >_should_? It does seem to make sense to restrict it, but I'm sure someone will >point out a reason why it is the way it is, and why it should remain so.
-- Mike A. Harris Linux advocate GNU advocate Computer Consultant Open Source advocate
Tea, Earl Grey, Hot...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |