🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.emp
Article #6

Re: sri-unix.1410: redirection to file

#6
From: dukecjp
Date: Thu, 06 May 1982 12:48
11 lines
716 bytes
There is a simple solution to the problem of keeping a protected
data file for use by a program, and still having the users of
the program able to write to their own files.  The program should
be run setuid to the owner of the protected file.  Within the
program, the first thing it does is open that file, and the
second thing is setuid(getuid()).  The protected file remains
open, but all further actions occur with the user's permissions.
Are you listening, esquire!psl?

		Charles Poirier (duke!cjp)
Technical Details
Message-ID: <anews.Aduke.2121>
Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!duke!cjp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!duke!cjp
From: duke!cjp
Newsgroups: net.games.emp
Subject: Re: sri-unix.1410: redirection to file
Date: Thu, 06 May 1982 12:48:34 +0000
Message-ID: <anews.Aduke.2121>