Log in

View Full Version : Tar php chmod settings


Buller
05-23-2009, 01:07 PM
Hi

Right now when I install the tar files everything is chmoded to 0777, I can not have files chmoded to 0777 on my server, I opened tar.php but I am not sure how to change this.

In tar.php everything it set to 0777, which ones do I change to chmod the Game Folders and Sub Folders to 0755 and all other files swf, gif, etc to 0644?
I notice there are four lines with 0777, if this is possible?


mkdir( $dir_component, 0777);
chmod( $dir_component, 0777);
@mkdir( $file_name, 0777);
@chmod( $this->tarfile_path_name, 0777);

Thank You in advance