Unzip File: Permission Denied












0















I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
enter image description here



Is there a way I can force-unzip it?



Update: I tried sudo unzip file.zip -d destination_folder in terminal, and it unzipped the file, but what came out, all the files have size 0 bytes:
enter image description here



Update 2: I do have permission to the directory and the file.



enter image description here



(I'm really sorry if my question is asked badly. Let me know down in the comments :) )










share|improve this question




















  • 1





    Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

    – Guillaume
    Dec 24 '18 at 12:17











  • I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

    – Vee Hua Zhi
    Dec 24 '18 at 12:18











  • Did the integrity check return something ?

    – Guillaume
    Dec 24 '18 at 12:20











  • I checked it and 'No errors detected in compressed data of <name>.zip.' came out

    – Vee Hua Zhi
    Dec 24 '18 at 12:21











  • In fact, I can read every file inside

    – Vee Hua Zhi
    Dec 24 '18 at 12:21
















0















I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
enter image description here



Is there a way I can force-unzip it?



Update: I tried sudo unzip file.zip -d destination_folder in terminal, and it unzipped the file, but what came out, all the files have size 0 bytes:
enter image description here



Update 2: I do have permission to the directory and the file.



enter image description here



(I'm really sorry if my question is asked badly. Let me know down in the comments :) )










share|improve this question




















  • 1





    Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

    – Guillaume
    Dec 24 '18 at 12:17











  • I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

    – Vee Hua Zhi
    Dec 24 '18 at 12:18











  • Did the integrity check return something ?

    – Guillaume
    Dec 24 '18 at 12:20











  • I checked it and 'No errors detected in compressed data of <name>.zip.' came out

    – Vee Hua Zhi
    Dec 24 '18 at 12:21











  • In fact, I can read every file inside

    – Vee Hua Zhi
    Dec 24 '18 at 12:21














0












0








0


1






I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
enter image description here



Is there a way I can force-unzip it?



Update: I tried sudo unzip file.zip -d destination_folder in terminal, and it unzipped the file, but what came out, all the files have size 0 bytes:
enter image description here



Update 2: I do have permission to the directory and the file.



enter image description here



(I'm really sorry if my question is asked badly. Let me know down in the comments :) )










share|improve this question
















I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
enter image description here



Is there a way I can force-unzip it?



Update: I tried sudo unzip file.zip -d destination_folder in terminal, and it unzipped the file, but what came out, all the files have size 0 bytes:
enter image description here



Update 2: I do have permission to the directory and the file.



enter image description here



(I'm really sorry if my question is asked badly. Let me know down in the comments :) )







zip unzip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 24 '18 at 12:04







Vee Hua Zhi

















asked Dec 24 '18 at 9:25









Vee Hua ZhiVee Hua Zhi

1066




1066








  • 1





    Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

    – Guillaume
    Dec 24 '18 at 12:17











  • I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

    – Vee Hua Zhi
    Dec 24 '18 at 12:18











  • Did the integrity check return something ?

    – Guillaume
    Dec 24 '18 at 12:20











  • I checked it and 'No errors detected in compressed data of <name>.zip.' came out

    – Vee Hua Zhi
    Dec 24 '18 at 12:21











  • In fact, I can read every file inside

    – Vee Hua Zhi
    Dec 24 '18 at 12:21














  • 1





    Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

    – Guillaume
    Dec 24 '18 at 12:17











  • I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

    – Vee Hua Zhi
    Dec 24 '18 at 12:18











  • Did the integrity check return something ?

    – Guillaume
    Dec 24 '18 at 12:20











  • I checked it and 'No errors detected in compressed data of <name>.zip.' came out

    – Vee Hua Zhi
    Dec 24 '18 at 12:21











  • In fact, I can read every file inside

    – Vee Hua Zhi
    Dec 24 '18 at 12:21








1




1





Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

– Guillaume
Dec 24 '18 at 12:17





Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again?

– Guillaume
Dec 24 '18 at 12:17













I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

– Vee Hua Zhi
Dec 24 '18 at 12:18





I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work

– Vee Hua Zhi
Dec 24 '18 at 12:18













Did the integrity check return something ?

– Guillaume
Dec 24 '18 at 12:20





Did the integrity check return something ?

– Guillaume
Dec 24 '18 at 12:20













I checked it and 'No errors detected in compressed data of <name>.zip.' came out

– Vee Hua Zhi
Dec 24 '18 at 12:21





I checked it and 'No errors detected in compressed data of <name>.zip.' came out

– Vee Hua Zhi
Dec 24 '18 at 12:21













In fact, I can read every file inside

– Vee Hua Zhi
Dec 24 '18 at 12:21





In fact, I can read every file inside

– Vee Hua Zhi
Dec 24 '18 at 12:21










1 Answer
1






active

oldest

votes


















1














Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.



You can also try unzipping from the command line as a super user and choose a directory where you have access rights.



sudo unzip file.zip -d destination_folder





share|improve this answer
























  • Thanks! However, it didn't work. I have updated my question.

    – Vee Hua Zhi
    Dec 24 '18 at 12:05











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1387336%2funzip-file-permission-denied%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.



You can also try unzipping from the command line as a super user and choose a directory where you have access rights.



sudo unzip file.zip -d destination_folder





share|improve this answer
























  • Thanks! However, it didn't work. I have updated my question.

    – Vee Hua Zhi
    Dec 24 '18 at 12:05
















1














Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.



You can also try unzipping from the command line as a super user and choose a directory where you have access rights.



sudo unzip file.zip -d destination_folder





share|improve this answer
























  • Thanks! However, it didn't work. I have updated my question.

    – Vee Hua Zhi
    Dec 24 '18 at 12:05














1












1








1







Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.



You can also try unzipping from the command line as a super user and choose a directory where you have access rights.



sudo unzip file.zip -d destination_folder





share|improve this answer













Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.



You can also try unzipping from the command line as a super user and choose a directory where you have access rights.



sudo unzip file.zip -d destination_folder






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 24 '18 at 10:41









GuillaumeGuillaume

15712




15712













  • Thanks! However, it didn't work. I have updated my question.

    – Vee Hua Zhi
    Dec 24 '18 at 12:05



















  • Thanks! However, it didn't work. I have updated my question.

    – Vee Hua Zhi
    Dec 24 '18 at 12:05

















Thanks! However, it didn't work. I have updated my question.

– Vee Hua Zhi
Dec 24 '18 at 12:05





Thanks! However, it didn't work. I have updated my question.

– Vee Hua Zhi
Dec 24 '18 at 12:05


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1387336%2funzip-file-permission-denied%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa