Name

ReadPermission — affect file mode (read permissions, specifically) on Interchange-generated files

SYNOPSIS

user | group | world

DESCRIPTION

By default, only the user account that Interchange runs under, can read and read files created by Interchange. The specified option allows adjustment of file read permissions.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Producing desired read and write file modes

ReadPermission      group
WritePermission     group

NOTES

AVAILABILITY

ReadPermission is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 602

['ReadPermission',   'permission',       'user'],

Source: lib/Vend/Config.pm
Line 5448 (context shows lines 5448-5457)

sub parse_permission {
my($var, $value) = @_;

$_ = $value;
tr/A-Z/a-z/;
if ($_ ne 'user' and $_ ne 'group' and $_ ne 'world') {
  config_error("Permission must be one of 'user', 'group', or 'world' for the $var directive\n");
}
$_;
}

AUTHORS

Interchange Development Group

SEE ALSO

WritePermission(7ic), SetGroup(7ic)

DocBook! Interchange!