Issue
When trying to restore user files from a backup, you encounter an error:
Error extracting /home/username/backups/backup/home.tar.zst : /bin/tar: ./.cagefs/tmp/mysql.sock: Cannot create symlink to ‘/var/lib/mysql/mysql.sock’: Permission denied
Environment
- CageFS
- CloudLinux OS
- DirectAdmin
Solution
1. Perhaps you have configured symlink protection.
2. You can check this with the following command:
sysctl -a | grep s.protected_
3. Disable symlink protection and try again.
Useful links
https://docs.cloudlinux.com/cloudlinux_os_kernel/#securelinks-and-link-traversal-protection
Comments
0 comments
Please sign in to leave a comment.