Page 1 of 1

Upload zip filewith correct file permissions

PostPosted: Sun Aug 26, 2007 8:09 am
Author: IntegraMOD
Hi there,

I am wondering what sort of zip software people use to compress their files upload to the server and extract.
The reason I am asking is that I zipped up some template files the other day on my local drive uploaded them to my host and through SSH unziped them, but most of the files had permissions off 700 and 600 where I needed the folder to be 755 and the files to be 644, is there any way to zip the things I want and extract them with the corrct file perissions on the server.

I know I can just chmod the permossions but there are like 20 or so folders and about 800 odd files so would like it done in the zip if possible

Re: Upload zip filewith correct file permissions

PostPosted: Sun Aug 26, 2007 5:56 pm
Author: CaNNon
The permissions need to be set on the server and not the file your up loading.
(not a very good way to say that)
You would need a .script to set them after uploading, file must be on the server before it can be given permissions.