linux用tar解压文件Cannot open: No such file or directory

在阿里云上搭建大数据平台,解压 zookeeper-3.4.10.tar.gz时报错如下:

tar: zookeeper-3.4.10: Cannot mkdir: Permission denied
tar: zookeeper-3.4.10/ivysettings.xml: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors

原因:
        账号权限不足造成的,使用sudo执行则解决

 

其他参考原因:

       压缩包损坏

       磁盘空间不足,可以df /home -h查看/home是否已满

 

猜你喜欢

转载自blog.csdn.net/canglan211/article/details/84530216