Discussion in 'White Hat SEO' started by sec-dee, Feb 12, 2009.
Is there a way to set file permissions before uploading to server?
What FTP client are you using? Filezilla? After you upload your files to the server, right click on the file you want to CHMOD and chose file attitributes. Change it to whatever you want.
yeah do it like justthinking says
you cant chmod a file outside your server, is like if you were trying to make a cake without adding the dough first...
you can tarball the files up with the correct permissions and then, gzip it, upload the tar.gz file and then extract. It will preserve the permissions
tar -cvf foo.tar filename1 filename2.....etc
gzip -9 foo.tar
tar -xzvf foo.tar.gz
thanks for the information I wasnt aware of that.
its not too hard to chmod on the server, the tarbell method is just an extra un-necessary step. if your going to do that, you might as well just right click, chmod on the server.
The tarbell method would work if you have to upload that same set of files to different servers, ect. So if its something to do once or twice just chmod on the server.. but say you had a script that had to have permissions changed. and you offered a service where you would upload and setup that script. Then the tarbell method would come in handy. So if your not doing mass installs/uploads, then just chmod by hand. you cant be that lazy
Separate names with a comma.