To change the permissions after the files have been uploaded, you can use the chmod() php command.
On the products insert page, change:
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "ProductImage", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult2", "ProductThumb", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult2_Params);
}
?>
To:
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "ProductImage", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
chmod($WA_DFP_UploadStatus["WA_UploadResult1"]["serverDirectory"]."".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"], 0644);
}
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult2", "ProductThumb", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult2_Params);
chmod($WA_DFP_UploadStatus["WA_UploadResult2"]["serverDirectory"]."".$WA_DFP_UploadStatus["WA_UploadResult2"]["serverFileName"], 0644);
}
?>
unless you are experiencing specific bugs in power store, you should not need to update power store using the extensions.
There are some problems that we have identified in PowerStore that can be addressed using the files provided in the Known Issues section of the PowerStore download page.