Jacky
Jacky

Reputation: 155

Tar extract command, Cannot open: Permission denied

I use tar -zxvf tarFile.tar.gz to extract the tarFile, but there is an error hint tar: subfile :Cannot open: Permission denied . I am a root user, and the permission of tarFile.tar.gz is 755, and the directory of the tarFile is also 755. Executetar -tvf tarFile.tar.gz tells the sub files permission is 644. As the attached pic show.

enter image description here

Upvotes: 3

Views: 17157

Answers (0)

Related Questions