[GRASS5] Unix Sockets directory change...

Eric G. Miller egm2 at jps.net
Tue Oct 9 11:17:12 EDT 2001

On Tue, 9 Oct 2001 11:25:08 +0200, Bernhard Reiter <bernhard at intevation.de> wrote:

> On Mon, Oct 08, 2001 at 04:24:08PM -0700, Eric G. Miller wrote:
> > I modified the unix socket routines to always use /tmp/grass-$USER/
> > as the directory.  This should overcome some problems with NFS
> > mounts.  Hopefully this works okay for everyone.
> Not having thought about this deeply: 
> Is there a chance of a race tmp condition which makes it 
> possible to gain files with the user's permission?

As Glynn has outlined, I tried to do some modicum of security checking.
Worries about using /tmp is why I didn't do so previously.  If anyone
can find security problems in the code, I'd like to know what they
are and how to fix them.

Eric G. Miller <egm2 at jps.net>

More information about the grass-dev mailing list