Another 777 permissions problem

by Sapphire (October 12, 2006)

Going through my stats for this site today, I noticed I was ranking for some interesting search terms - all relating to online pharmacies and drugs for sale. I looked up one of the search terms in Google and saw that it went to a page that I never created, buried two folders down from the top folder. Clicking on in bounced me through my site and redirected the visitor to an online pharmacy.

I went into that folder via my file manager, and sure enough, there were about 10 files for drug stuff that I hadn’t put there. The permissions on the file were set to 777. Now, I don’t think I left it on 777, because I just had a meltdown due to 777s a couple of months ago, and because when I tried to change the permissions it wouldn’t allow me to, which meant I was no longer the owner of that file. Fortunately, I have that fixperm file that that Garvin from Serendipity wrote when people were losing control of folders created on that platform’s auto-install system. I used the fixperm script to change the permissions, and deleted all those drug files with the redirects, too.

I’ll keep a watch for a few days to make sure nothing more happens.

One last thing: I can’t believe that freakin’ drug page was ranking higher on Google than any other page of this site!

Your Ad Here


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comments will be sent to the moderation queue.