tar Cannot open: File exists

tar: Exiting with failure status due to previous errors

 

查了一下源目录的属性,发现该目录要求owner,group, others都要有读写和执行权限
tar Cannot open: File exists

再看该目录,原来others没有写权限

#ls -ld .
drwxr-xr-x 2 root root 4096 2011-05-20 10:02 .

按照下面修改就可以了

#chmod 777 .
# ls -ld .
drwxrwxrwx 2 root root 4096 2011-05-20 10:02 .

相关文章:

  • 2021-08-11
  • 2021-08-10
  • 2021-07-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-16
  • 2021-07-05
  • 2021-08-18
  • 2021-05-21
  • 2021-08-30
  • 2021-05-19
  • 2021-07-15
相关资源
相似解决方案