[prev in list] [next in list] [prev in thread] [next in thread]
List: netsaint-devel
Subject: Re: [netsaint-devel] var/rw/netsaint.cmd permissions problem in 0.0.7b6
From: "Ethan Galstad" <netsaint () netsaint ! org>
Date: 2001-07-20 21:56:00
[Download RAW message or body]
As noted in the docs, you must enable the directory group sticky
bit if you want newly created files to inherit the permissions of the
directory. Do this with:
chmod g+s /usr/local/netsaint/var/rw
From: Eric Herget <herget@pinpoint.com>
> I'm a newbie on this list [ducking...]
>
> I did a search of the list archive and found no mention of
> this possible problem so I thought I'd point it out here.
>
> The docs say I should change the ownership of my var/rw
> dir to allow the user under which httpd runs to write to
> a netsaint.cmd file. However, NetSaint now creates a named
> pipe called var/rw/netsaint.cmd when it starts up. This
> means that no matter what permissions I give the var/rw
> directory, my httpd user (nobody) can't write to this
> named pipe because it is created with permissions:
> rw-rw---- netsaint netsaint
>
> I've worked around this in my somewhat secure development
> environment by changing base/utils.c to call umask(0) and
> mkfifo() addition of world read & write modes. Not sure
> how secure this would be in a production environment.
>
> Eric
>
> _______________________________________________
> Netsaint-devel mailing list
> Netsaint-devel@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/netsaint-devel
Ethan Galstad
NetSaint Developer
---
Email: netsaint@netsaint.org
Website: http://www.netsaint.org
_______________________________________________
Netsaint-devel mailing list
Netsaint-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/netsaint-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic