[ic] mod_interchange permissions
Mike Heins
interchange-users@icdevgroup.org
Mon Apr 7 19:11:01 2003
Quoting Josh Lavin (josh@kdw.us):
>
> On Monday, April 7, 2003, at 04:54 PM, Dan Browning wrote:
>
> > For example, if your web server is apache, and the user.group is
> > apache.apache, then you would do:
> >
> > chgrp apache /usr/local/interchange/etc/socket
> > chmod g+rws /usr/local/interchange/etc/socket
> >
> > # I also like to do...
> >
> > chgrp apache /usr/local/interchange/etc/
> > chmod g+rws /usr/local/interchange/etc/
>
> Thanks, Dan. I was wondering about something like this.
>
> Hhere's my socket now:
> srw-rwS--- 1 interch apache 0 Apr 7 16:01 socket
>
> I restarted IC and Apache, and still got the permission denied in my
> httpd error log! Works great as long as I don't restart IC.
I think you didn't do what he suggested.
Here is the exact sequence of commands:
1. Stop interchange
/usr/local/interchange/bin/interchange -stop
2. Change the group and mode of the *directory*
chgrp apache /usr/local/interchange/etc
chmod 2770 /usr/local/interchange/etc
3. Restart interchange.
/usr/local/interchange/bin/restart
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers