CentOS 7 unzip 解压大文件报错 error: invalid zip file with overlapped components (possible zip bomb)
技术资讯 2024-11-27 12:32 358

1.编辑 /etc/profile

vim /etc/profile

2.在文件末尾插入下面两行并保存退出

UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE
export UNZIP_DISABLE_ZIPBOMB_DETECTION

3.使环境变量生效

source /etc/profile

重新执行unzip命令即可成功解压。

标签:

  • CentOS 7 unzip 解压大文件报错
  • error: invalid zip file with overlapped components (possible zip bomb)