File Rights Modification Leads to Database Backup Failures
|
Keywords database backup, file rights Version Mapping
Symptom The U2000 V100R006C00 cannot back up the database automatically one day. Problem Identification File rights have been modified. Cause Analysis The database backup logs contain the following information: IOError: [Errno 13] Permission denied: '/opt/HWENGR/engineering/conf/datamodelDB/datamodel.properties' Frontline engineers find that the rights for files in /opt/HWENGR/engineering/conf/datamodelDB have been modified to: -rw-r----- The rights should be -rwxr-xr-x (that is, 755). The owners of the files are root, but the backup is performed by the nmsuser user. Therefore, the modification makes the nmsuser user unauthorized. Solution Restore the original file rights. Suggestion and Summary None |

Favorite (0)