Permission problems using SSH
I'm trying to upload a shopping cart program to my website. Because there are so many files, I packed them all in a TAR file (cart.tar). The directory on the server is /public_html/cart/ and the TAR file is located in that directory.
I use while in the /public_html/cart/ directory and it extracts all the files and folders as it should. Now, the problem is every file has a CHMOD 600 permissions when they need to be 755 (in the /cart/ directory and all other sub-directories).
I've tried and , but that only works for the current working directory. In order to get every file to have the 755 permissions, I need to CHMOD 755 every single directory. Is there an attribute of the command that will extract all files with the 755 permission?