lkml.org 
[lkml]   [1999]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.089 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site