setgroupperms — set group permissions to allow both command line and web management of sets.
use Wacs;
setgroupperms( | ...) ; |
parameter | description |
---|---|
target | pathname of the file or directory to update |
group | the unix group to set permissions to (usually wacs ,
can be obtained with conf_get_attr on security ->
admingroup . |
mode | access mode that should be set - typically ug+rwX .
|
The setgroupperms
function sets the group
permissions on the specified file to allow updating by both command
line tools and the web interface. This is typically done by making
all files group-writeable to the wacs
group of which
both apache and the approved WACS administrative users should be members.