Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site baylor.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!ut-sally!ut-ngp!shell!neuro1!baylor!peter From: peter@baylor.UUCP (Peter da Silva) Newsgroups: net.unix-wizards Subject: Re: Unix already has "attributes"... Message-ID: <467@baylor.UUCP> Date: Sun, 18-Aug-85 23:25:51 EDT Article-I.D.: baylor.467 Posted: Sun Aug 18 23:25:51 1985 Date-Received: Sat, 24-Aug-85 02:28:27 EDT References: <3398@decwrl.UUCP> <2000018@ccvaxa> <1314@eagle.UUCP> <2636@sun.uucp> Organization: The Power Elite, Houston, TX Lines: 13 > Unix is not pristine about this either. Why do you have to copy > executables with "cp" rather than "cat" or "dd"? They won't execute if > you cat them...because the file permissions ("attributes" of the > original) are specifically propagated by code in "cp", but not by > "cat". Yeh, executability should perhaps be handled by a magic number. Of course this would break shell scripts, but that's been done before. Of course it IS easier to type 'chmod +x file' than to reconstruct the header... -- Peter da Silva (the mad Australian werewolf) UUCP: ...!shell!neuro1!{hyd-ptd,baylor,datafac}!peter MCI: PDASILVA; CIS: 70216,1076