I zipped the public folder inside a shared hosting file system, using the command:
zip -r file.zip ../public
and it created a file.zip
in the private directory.
I then downloaded the file.zip
and using FTP copied it into another site using the same file structure and tried to unzip it.
The unzipping won't work, it gives a message skipping insecure entry
for every file.
What is the cause of this and how do I successfully unzip the files?
The only option in the man page I see that might allow this is -^
. You should have created the zip with zip -r private/file.zip public
from the parent directory directory, instead of from the private directory.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加