Article View: best.www
Article #116gcc persona & file permissions
From: Mike Pooler
Date: Fri, 20 Nov 1998 00:00
Date: Fri, 20 Nov 1998 00:00
13 lines
1113 bytes
1113 bytes
When I create a file in gcc (or more specifically, by calling a cgi written in c, and compiled in gcc on a commerce shell), the uid is "nobody" and group is "mosiac" - is there a way within gcc to set the user id for new files to me? The idea is to create a file that cannot be read by anyone, even if they type in the complete URL of the file. (They have no way of finding out what the filename of the created file is, yet I'd feel better!). But yet I would still like the file to be accessable by the same cgi if it was invoked again. Thanks, Mike
Technical Details
Message-ID:
<365b548c.588878816@nntp1.best.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11488e,e56356082f977cbd X-Google-Attributes: gid11488e,public From: pooler@pcgame.com (Mike Pooler) Subject: gcc persona & file permissions Date: 1998/11/20 Message-ID: <365b548c.588878816@nntp1.best.com> X-Deja-AN: 413835721 Distribution: best Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: nntp1.ba.best.com 911562306 12770 204.156.141.79 Organization: PC Game Finder MIME-Version: 1.0 Reply-To: pooler@pcgame.com Newsgroups: best.www