Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!rbj@ICST-CMR.arpa From: rbj@ICST-CMR.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Broken chmod Message-ID: <10850@brl-adm.ARPA> Date: 15 Dec 87 04:19:17 GMT Sender: news@brl-adm.ARPA Lines: 17 Awhile back, somebody lamented the fact that their chmod had somehow acquired mode 644. Since there was no way to chmod chmod because it wasn't executable, they loaded it from a backup tape. Why couldn't they just have done the following: 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 (Root Boy) Jim CottrellNational Bureau of Standards Flamer's Hotline: (301) 975-5688 I guess it was all a DREAM.. or an episode of HAWAII FIVE-O...