From owner-freebsd-questions Tue Apr 6 22:39:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from house.key.net.au (house.key.net.au [203.35.4.2]) by hub.freebsd.org (Postfix) with ESMTP id AFED814CF3 for ; Tue, 6 Apr 1999 22:39:01 -0700 (PDT) (envelope-from keith@apcs.com.au) Received: (from uucp@localhost) by house.key.net.au (8.8.8/8.8.8) id PAA18998 for ; Wed, 7 Apr 1999 15:37:04 +1000 (EST) (envelope-from keith@apcs.com.au) Received: from mailgw.key.net.au(203.41.114.242), claiming to be "localhost" via SMTP by mailgw.key.net.au, id smtpdG18990; Wed Apr 7 15:36:54 1999 Date: Wed, 7 Apr 1999 15:36:54 +1000 (EST) From: Keith Anderson X-Sender: keith@localhost To: questions@freeBSD.org Subject: C and permissions ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All I wrote some C programs that make files but need to set the permissions inside the program, so the created files have the correct rw permission. Is there an include to handle file permissions. Keith Anderson keith@apcs.com.au Australia Power Control Systems P/L To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message