Unzip File: Permission Denied
I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
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:
Update 2: I do have permission to the directory and the file.
(I'm really sorry if my question is asked badly. Let me know down in the comments :) )
zip unzip
|
show 5 more comments
I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
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:
Update 2: I do have permission to the directory and the file.
(I'm really sorry if my question is asked badly. Let me know down in the comments :) )
zip unzip
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
|
show 5 more comments
I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
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:
Update 2: I do have permission to the directory and the file.
(I'm really sorry if my question is asked badly. Let me know down in the comments :) )
zip unzip
I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
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:
Update 2: I do have permission to the directory and the file.
(I'm really sorry if my question is asked badly. Let me know down in the comments :) )
zip unzip
zip unzip
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
|
show 5 more comments
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
|
show 5 more comments
1 Answer
1
active
oldest
votes
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
Thanks! However, it didn't work. I have updated my question.
– Vee Hua Zhi
Dec 24 '18 at 12:05
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
Thanks! However, it didn't work. I have updated my question.
– Vee Hua Zhi
Dec 24 '18 at 12:05
add a comment |
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
Thanks! However, it didn't work. I have updated my question.
– Vee Hua Zhi
Dec 24 '18 at 12:05
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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