Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!ucbvax!ttrdc.UUCP!levy From: levy@ttrdc.UUCP.UUCP Newsgroups: mod.computers.vax Subject: Quick question--how to set file protection from program in VMS Message-ID: <8606082144.AA29459@ucbvax.Berkeley.EDU> Date: Sun, 8-Jun-86 17:44:39 EDT Article-I.D.: ucbvax.8606082144.AA29459 Posted: Sun Jun 8 17:44:39 1986 Date-Received: Sun, 8-Jun-86 23:52:07 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 20 Approved: info-vax@sri-kl.arpa I have a quick question which I hope someone "out there" can either tell me how to do under VMS 4.2 or can tell me exactly what manual to look in. That is, I would like to set the protection of a file from a program in VMS, specifically a Fortran program which creates the file. (This is easy enough in C since the protection is specified when the file is created, but Fortran doesn't make it easy.) Now the help library on RTL and SYSTEM gives information which is helpful in finding out the protection on a file that is already there, but I can't seem to find anything which tells me how to do the opposite, that is, to set the protection on an existing file. (I am just interested in read/write/execute/ delete protections, not ACLs or anything fancy.) Thank you very much... ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, vax135}!ttrdc!levy