Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!pyramid!pesnta!hplabs!qantel!lll-lcc!lll-crg!caip!seismo!rochester!bullwinkle!batcomputer!johnth From: johnth@batcomputer.UUCP Newsgroups: net.decus,net.unix,net.usenix Subject: Re: Favorite operating systems query (UNIX vs VMS flaming!!!) Message-ID: <509@batcomputer.TN.CORNELL.EDU> Date: Sun, 22-Jun-86 12:42:49 EDT Article-I.D.: batcompu.509 Posted: Sun Jun 22 12:42:49 1986 Date-Received: Tue, 24-Jun-86 00:13:28 EDT References: <486@batcomputer.TN.CORNELL.EDU> <1000@ttrdc.UUCP> Reply-To: johnth@batcomputer.UUCP (john thurtell) Distribution: na Organization: Theory Center, Cornell University, Ithaca NY Lines: 30 Xref: decwrl net.decus:400 net.unix:8216 net.usenix:609 In article <1000@ttrdc.UUCP> levy@ttrdc.UUCP (Daniel R. Levy) writes: >Could you then do me a favor. Show me how, in Fortran, I would go about >setting the protection (no fancy ACL stuff, just basic RWED protections) >on a file which I am creating. (In C it's easy enough, since the protec- >tion is specified when the file is created, which of course is tied to the >straightforward Unix way of doing things!) Please show actual code, such as >a USEROPEN program, together with the OPEN() statement that calls it, to run >.... The following is a trivial (and slow) way to do this. I'm sure there is a better way but sitting here this is the best I can do. OPEN() ... Close() Call Lib$Spawn('Set Protection=....') Personally I love to play with UNIX. It is a lot of fun to poke around in. On the other hand when I need to get things done I like VMS. It is easy because I don't need to think about how to do thinks, only about what I'm trying to get done. When I first started on VMS I just sat down at a terminal and started to see if I could make it go. My first command was EDIT TEST and it worked! Love at first sight. I would never have guessed vi. Now that I know a little about UNIX I like it. What I like about VMS is that I didn't need to take two weeks of workshops to learn enough to be able to use it. John Thurtell