N2W Software

            Error when running a Permissions check post upgrade CPM 2.4 , [Errno 13] Permission denied: '/opt/n2wsoftware/scripts/permissions.json'

            After upgrading to CPM 2.4 users may experience an error when on the Accounts page and clicking on 'Check AWS permissions' button may receive the following error:

            [Errorno 13] Permission Denied: '/opt/n2wsoftware/scripts/permissions.json' 

            This error may also occur when trying to download the CPM logs from the bottom of the Manager screen and the same error may be entered into the cpm_server.log

            This error is caused by missing group permissions on the CPM Instance folder /opt/n2wsoftware/scripts for the group www-data. 
            Development is aware of the issue and you can track defect issue # N2WS-4419. You can check the CPM Release Notes for when this fix may be incorporated into CPM.

            In the interim, you can work around the issue by doing the following steps.

            1. ssh into the CPM instance using the cpmuser account and the private key for the instance.

            2. Please run the following commands to update the folder permissions:

            sudo chmod  g+w /opt/n2wsoftware/scripts/permissions.json

            sudo chown  :www-data /opt/n2wsoftware/scripts/permissions.json

            NOTE: It is highly advised to restart the CPM instance after making these changes to have them take effect.

            Updated: 5 days ago
            Helpful?  
            Help us to make this article better
            0 0