From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9bc81c2f6c4c8204 X-Google-Attributes: gid103376,public From: "Bob Klungle" Subject: Re: Setting file attributes in ADA 95 Date: 1996/10/08 Message-ID: <01bbb534$7cf3cd20$d86f1fcc@p5120.bda>#1/1 X-Deja-AN: 188043075 references: <01bbb456$f92ec680$ef947f82@yates.clemson.edu> organization: B & D Associates x-netcom-date: Tue Oct 08 11:18:06 AM CDT 1996 newsgroups: comp.lang.ada Date: 1996-10-08T11:18:06-05:00 List-Id: This is not an Ada question. You can set your umask to 022 to get everything but the execute (x) bit. At the end of generation, a script command using chmod could also do it. You could also import a "C" subroutine which issues the chmod command, if your Ada does not include the "system" command. cheers bob Jason Yates wrote in article <01bbb456$f92ec680$ef947f82@yates.clemson.edu>... > I am creating a program that writes a file on a Sun box. I need to set the > file attriutes to read / execute so other users can access the file, i.e > . I am new to ADA so any help would be appreciated. BTW > I am using the GNAT complier. > > TIA, > Jason Yates > Clemson University > yates@clemson.edu >