SocketPerms — specify Unix socket permissions
Specify permissions (mode) for the Interchange UNIX-domain socket file.
Prepend a starting 0
to indicate an octal value. The
directive can be overridden from the command line using interchange
-r SocketPerms=
.
value
The default value is 0600
, which allows only programs
running under your Interchange server UID to access the socket.
Another possible value is 0666
. This is a bit
insecure setting, as it allows anyone on the system to access the socket.
It may come handy, however, if programs such as Apache need to access
the socket via mod_perl or our Interchange::Link
module.
You might want to try the discussed mode, 0666
,
when your Interchange installation isn't working and you quickly want to find out
whether it's just socket file permissions problem or something deeper.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3992 (context shows lines 3992-3999)
sub parse_integer { my($var, $value) = @_; $value = hex($value) if $value =~ /^0x[\dA-Fa-f]+$/; $value = oct($value) if $value =~ /^0[0-7]+$/; config_error("The $var directive (now set to '$value') must be an integer\n") unless $value =~ /^\d+$/; $value; }