Name

WritePermission — affect file mode (write permissions) on Interchange-generated files

SYNOPSIS

user | group | world

DESCRIPTION

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

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Producing desired read and write file modes

ReadPermission      group
WritePermission     group

NOTES

AVAILABILITY

WritePermission is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 601

['WritePermission',  '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

ReadPermission(7ic), SetGroup(7ic)

DocBook! Interchange!