I have a zip file that I need to unzip, it contains lots of files and takes around 3 hours to unzip. Then i need to issue a recursive chmod 777 against these files, which again takes some time to do.
Is there a smart way to apply the chmod as the files are being unzipped ?
Maybe piping the unzip thru chmod ?...dunno
I was thinking umask ?...But i dont really understand it