Cybersecurity
DevOps Cloud
IT Operations Cloud
PROBLEM/ABSTRACT:
Trying to save changes made in the schema editor fail with the following error.
Error: unable to update "layout.xml" on server.
Make sure the file is writeable by the server.
SOLUTION:
Step 1.
Make sure you have the correct perl modules. Try and compile the server_admin_trig via the command:
perl -c server_admin_trig.pl
If the syntax is correct, then proceed to step 2.
Step 2.
In the server_admin_trig, you have a section that defines an admin group.
###########################################CUSTOMIZE ME
# Specify the AccuRev Group name of your Administrators
# Edit this value accordingly.
# To grant Administrator access to a user, add them
# to this AccuRev group.
#######################################################
$admingrp = "Admin";
The validation of the write_schema checks to see if a user belongs to this group.
# EXAMPLE VALIDATION:
# only a user listed as an administrator can run the command
if ( `$::AccuRev ismember $principal "$admingrp"` == 0 )
To solve this problem, if you create a group called Admin, and add you users to this group, when they modify the change package info and save, they will no longer receive an error.
For more information contact AccuRev Support