I am using MaxiGallery But ever time I upload images via maxigallery the images and gallery folders end up with 666 or 777 permission. This has now lead to my hosting account being hack and my server running phishing sites. Is there anyway of running maxigallery without giving such permissions?
That is what the hosting company told me. When I logged into my ftp I had a ton of files that weren’t mine and there was what looked to be a fake bank website running on my server.
They ask that I do not have any files with such permission in the future. After changing everything over to 644 and 755 the old galleries still seem to work fine though. So why do all new files created with maxi gallery have 666 and 777 permission if it works fine with no world write? and if that wasn’t how it happened then how do most phishing sites gain access?
At this point I can still upload files with that permission.
Thanks for your help!
There are parameters in MaxiGallery to set the permissions for new folders and files.. by default they are 666 / 777. See MaxiGallery wiki article for more info.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Hmm.. I can’t find them either..
Well, the parameters are: &chmod_folders and &chmod_files
"He can have a lollipop any time he wants to. That's what it means to be a programmer."