Path: utzoo!utgpu!water!watmath!clyde!rutgers!super.upenn.edu!eecae!upba!qetzal!rcw
From: rcw@qetzal.UUCP (Robert C. White)
Newsgroups: comp.unix.wizards
Subject: Re: Broken chmod
Summary: how 'bout this
Message-ID: <854@qetzal.UUCP>
Date: 15 Dec 87 08:10:16 GMT
References: <10841@brl-adm.ARPA>
Organization: Mentor Software Inc., Thornton, Co.
Lines: 23

In article <10841@brl-adm.ARPA>, rbj@icst-cmr.arpa (Root Boy Jim) writes:
-----------------------------------------
% Why couldn't they just have done the following: [chmod with 0644 perms]
% 
% cd /bin
% cp cat foo		# create foo with mode 755
% cp chmod foo		# doesn't change mode of foo, or
% cat < chmod > foo	# doesn't change mode either
% ./foo 755 chmod
% rm foo
-----------------------------------------
main()
{
	chmod("/bin/chmod",0755);
}

Robert White

-- 
//////////////////286 Moderator -- comp.unix.microport\\\\\\\\\\\\\\\\\
Email to microport@uwspan for info on the newsgroup comp.unix.microport.
otherwise mail to microport@uwspan with a Subject containing one of:
386 286 Bug Source Merge or "Send Buglist" (rutgers!uwvax!uwspan!microport)