The following error is being shown in the schedule_log file when trying to update any ppm packages manually for PureMessge for Unix:
$ ppm verify --upgrade PureMessage-Sophos-Data --force
While verifying package 'PureMessage-Sophos-Data': Error verifying file '/tmp/dICgcJVkBZ/PureMessage-Sophos-Data.ppd': mkdir /opt/pmx/var/tmp//validation/file_cache: refuse permission at /PerlApp/PPM/PureMessage/Utils.pm line 34
Can't remove directory /opt/pmx/var/tmp//validation/downloader: refuse permission at /puremessage/puremessage5.2/bin/ppm line 117
First seen in
PureMessage for Unix 5.4
The error shows that the PureMessage is failing to create a folder under the /opt/pmx/var/tmp/ directory.
What To Do
- Ensure the permission is ' drwxrwxrwx' or '777', and ownership as 'pmx' for the tmp directory. To do this, as root, run:
chmod 777 /opt/pmx/var/tmp/
chown pmx:pmx /opt/pmx/var/tmp/
- Check if there is any files under the tmp directory, you can safely delete any files or sub-folders found within this directory and try to run the update this package again to see if it helps to get rid of this error.
- If problem persists, you can resolve this issue simply by removing the tmp folder and have it recreated. This will reset the inode details and any corrupted files stored within this tmp folder.
Issue should now be resolved.