1
coopersita
I'm being hacked through cache

Do the cache and templates_c folders have to be 777?

I have protector, and still, someone is modifying the cached files to insert code in them...

I have protector, but when I try to set the permissions to something more restricitve, the site just goes blank.

Any suggestions.

2
Goober
Re: I'm being hacked through cache
  • 2005/12/2 2:25

  • Goober

  • Not too shy to talk

  • Posts: 101

  • Since: 2003/3/30


Might try 707 for the cache. 644 on the adminmenu.php in the cache folder.

Anyone have a better setup?
Dispelling the Mystical belief of Web Standards and tableless CSS.
Nobody gets excited about the tools used to build a house, people get excited about how the house looks and performs

3
gediminasbyt
Re: I'm being hacked through cache

No reason to have cache and template_c as 777, 775 might work just as well. Others need just to read it.

Gediminas

4
tjnemez
Re: I'm being hacked through cache
  • 2005/12/2 3:34

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i am being hacked through templates_c as well.
Not right now; I am busy screwing up my site!


Dream Catcher Dezines
Mind Health ...

5
tjnemez
Re: I'm being hacked through cache
  • 2005/12/2 11:06

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


is it as simple as changing permissions?
Not right now; I am busy screwing up my site!


Dream Catcher Dezines
Mind Health ...

6
jdseymour
Re: I'm being hacked through cache

Quote:

tjnemez wrote:
is it as simple as changing permissions?


It depends on how the server is configured. The folder needs to be writable by the user it runs as. Where the problems come in is when apache is run by the user "nobody" which is a default webuser account. Try 775, clear the template_c and cache folder, if the site runs it is OK, if it goes blank you will need to change the settings back.

7
tjnemez
Re: I'm being hacked through cache
  • 2005/12/2 11:18

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


775 works with 2.0.13.2 but not 2.2.3a final
Not right now; I am busy screwing up my site!


Dream Catcher Dezines
Mind Health ...

8
JMorris
Re: I'm being hacked through cache
  • 2005/12/2 12:35

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Quote:

tjnemez wrote:
775 works with 2.0.13.2 but not 2.2.3a final


755 Worked for me on all versions with no problems. I'm not sure why you're having problems with 775 working on 2.2.3a. Since the scripts *should* be running as the same user, there shouldn't be a difference between versions.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

9
bluenova
Re: Im being hacked through cache

I had this problem with a site too, but it's all been fine since changing perms to 755

10
coopersita
Re: Im being hacked through cache

I have XOOPS 2.0.9.3, and when I set templates_c to 705, the site goes blank until I change it back to 707...

Would upgrading to XOOPS 2.2 allow me to have 705 for templates_c? Of is it my servers config that doesn't allow me to have 705?

I haven't upgraded because I did some hacks to some files, and I don't want to have to redo my changes again after upgrade. I will if I must, but if upgrading won't allow me to have 705, then I don't see the point of upgrading...

Login

Who's Online

401 user(s) are online (352 user(s) are browsing Support Forums)


Members: 0


Guests: 401


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits