PDA

View Full Version : chmoding problem


TITIRIT
3-4-04, 05:57 PM
Hi

I have a problem with chmoding files

Pls go to this URL: http://arinvest.temp.powweb.com/magazin/index.php?language=en

You will see a warning there. I chmoded the file but every time i get the same stupid warning message

Pig
3-4-04, 06:02 PM
You are better off asking OsCommerce questions in the OsCommerce section. Here is what you need

http://forum.powweb.com/showthread.php?s=&threadid=33359

TITIRIT
3-4-04, 06:15 PM
ok, i'll do that

TITIRIT
3-4-04, 06:35 PM
that helped... that was a very strange solution

Pig
3-4-04, 06:39 PM
Well, the script automatically cheks for the chmoding. Powweb doesn't allow you to chmod the file via ftp that way, nor does it allow 777 chmoding. I don't believe they would allow the PHP work around if they had any control over it.

You could also chmod your config file to 600, and do a quick hack to kill the warning. The PHP chmod techique is simpler though.

TITIRIT
3-4-04, 06:52 PM
i fixed the problem.

i used the chmod in php

but it's strange that powwebdoes not allow chmod with ftp

i even used the chmod in the webftp and didn't worked

o well.. i'll keep in mind this

thanks

Pig
3-4-04, 07:55 PM
It does allow chmod, just not to 777 or 444. It is a security issue hole. I would do the same if I were in there shoes.

TITIRIT
3-4-04, 08:32 PM
i understand that, but i as tryingto chmod to 644 or 600 and not to 777 or 444

Pig
3-4-04, 09:14 PM
Well that's a different story. I would try a different ftp client, and if that doesn't work, contact support.

TITIRIT
3-5-04, 11:20 AM
i use File Zilla
i thinkis the best

Anyway... i fixed the problem so...life goes on :D