[ic] mod_interchange and socket permissions
Shane DeRidder
shane at silicondairy.net
Mon Sep 29 12:33:21 EDT 2003
On Sat, 2003-09-27 at 08:47, Kaare Rasmussen wrote:
> > Temporarily set permissions at restart:
> > interchange -r SocketPerms=666
>
> This is more unsecure than should be necessary. I'd like it to be only the
> specific user and group that are allowed access to the socket.
It's a hack, but here's what I do. This is a script I call "start" and
I use it in place of the Interchange restart script.
#!/bin/sh
ic="/opt/interchange"
su -f -c $ic/bin/restart ichange
chmod 0660 $ic/etc/socket
chmod 0770 $ic/etc/socket.ipc
chown ichange:httpd $ic/etc/socket $ic/etc/socket.ipc
--
+---------------------------------------------------+ ^__^
| Shane DeRidder shane at silicondairy.net | . (oo)\_______
| Dir. Network Engineering http://silicondairy.net/ | o (__)\ )\/\
| Silicon Dairy, LLC. 802.846.4433 x101 | 0 ||----w |
+---------------------------------------------------+ || ||
More information about the interchange-users
mailing list