On 01 Nov 2005 09:01:02 -0800, Randal L. Schwartz <merlyn@stonehenge.com> wrote: > >>>>> "Jay" == Jay Savage <[EMAIL PROTECTED]> writes: > > Jay> The "new version" prevents anyone but the superuser from changing a > Jay> file's ownership. Actually the change was to the chown and lchown > Jay> system calls in various kernels (I think Linux was the first, maybe > Jay> Solaris?) not to chown itself. > > You kids. :) > > System-V style kernels (including V7 before it, the One True Unix), > permitted anyone to give files away. > > When the BSD series came along, they implemented quotas, because they > were, you know, for kids. (Hudsucker Proxy reference) So BSD-style > kernels could not chown except for superuser, to avoid defeating > quotas. > > To this day, generally, the kernels that have quotas don't permit > giving files away, and vice versa. >
So the issue was whether quotas were handled trough the kernel or 'find / -user nobody'? And it was connected to the System-V/BSD split? Learn something new every day. Makes sense. My memory must be getting foggy, though; I thought when I was working on such things, chown worked (for users) on SunOS 4.x (4.2BSD), but not Solaris 2.x (SVR4). But I must be remembering it backwards. -- jay -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org "This has been your orientation. Is there anything you do not understand, is there anything you understand only partially? If you have not been fully oriented, you must file a complaint with personnel. File a faulty complaint and they dock you!" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>