I unzipped a file on my server using:
unzip filename
However this seems to have caused all the files having owner/group permissions of 0 0
.
The files I uploaded were a PHP
software script, so I'm wondering how I set the permissions properly when unzipping the files and what they should be set to?
Best Answer
Zip doesn't support saving file ownership/permission as far as I know. You can try setting the umask so unzip should create the files with these permissions. Run
before
unzip
.