Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

My CHMODs changed?!!?

Quote Reply
My CHMODs changed?!!?
Hi all...
Im frustrated today... I had links up and running perfectly for weeks.... Now i'm having trouble getting it to work again..
Today when i went to validate.. it started off with an error saying permission denied for whatever it was... so i fixed it... then i tried build all again.. no luck...
Each time i fix it i can get one step further... But now i'm stuck...
Building What's New Page . . .

CGI ERROR
==========================================
Error Message : unable to open what's new page: /usr/local/plesk/apache/vhosts/qualitytattooz.com/httpdocs/links/pages/new/index.html. Reason: Permission denied
Script Location : /usr/local/plesk/apache/vhosts/qualitytattooz.com/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.006

I don't know what to do... I've chmoded everything again..
I also didn't require the links.db.bak before... it worked fine just as links.db.. but then i got the links.db.bak error.. which i fixed now by just having both db.bak and .db in there.. Was the only way it would work...

Last thing is this... what does this mean? another chmod error? This is driving me crazy..
Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 21 hits
Updating record: 12, marking as new.
Updating record: 13, marking as popular (21).
Updating record: 13, marking as new.
Updating record: 14, marking as new.
Updating record: 15, marking as new.
Couldn't rename! Had to copy. Strange: Permission denied
Done.

Updating ratings ..
Couldn't rename! Had to copy. Strange: Permission denied
Done.

I now have to go through every file and CHMOD it again for some reason... How can i stop this? Why did this happen?

Yesterday i tried to install Ksearch (a website search engine) on my site with no luck.. would that have had anything to do with it?

Any thoughts on this would be appreciated... thanks...

********************
Frustrated Guy

Quote Reply
Re: My CHMODs changed?!!? In reply to
Ok... im getting there! persistance is the key...
I'm now only getting this error but it seems to be working fine still.. goes passed it anyway and finishes the build ... any ideas??

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 21 hits
Updating record: 12, marking as new.
Updating record: 13, marking as popular (21).
Updating record: 13, marking as new.
Updating record: 14, marking as new.
Updating record: 15, marking as new.
Couldn't rename! Had to copy. Strange: Permission denied
Done.
Updating ratings ..
Couldn't rename! Had to copy. Strange: Permission denied
Done.

And last of all... the email to tell me to validate works... but the person who added the link gets no emails ever? any ideas?? thanks...

*************************************
Not-so-frustrated-anymore guy

Quote Reply
Re: My CHMODs changed?!!? In reply to
Are you sure you CHMODed the backup directory and the files in it correctly?

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: My CHMODs changed?!!? In reply to
Hi...
yes, i've chmoded everything correctly...
It even worked... but each time i get a new entry it seems to be changing... I fixed it all up completely yesterday...
Validated links fine today... And got to...

Building What's New Page . . .
New Links for 2-Jun-2001: 2

CGI ERROR
==========================================
Error Message : unable to open what's new page: /usr/local/plesk/apache/vhosts/qualitytattooz.com/httpdocs/links/pages/new/index.html. Reason: Permission denied
Script Location : nph-build.cgi
Perl Version : 5.006

I'll just go through and chmod everything in /links/pages/
again and it will probably work again till i get another link added...
I'm not sure how to avoid having to do this all the time? any ideas or suggestions to why this is happening and what i can try to stop it would be appreciated...



*********************************
RaGe
http://www.qualitytattooz.com
Quote Reply
Re: My CHMODs changed?!!? In reply to
Delete everything in the /pages/ folder (except index.html). Then do a re-build. Does that sort it? Also, check that the pages folder is set to 777.


Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: My CHMODs changed?!!? In reply to
You should not delete EVERYTHING in the pages directory as Andy said, just chmod the following directories to 777:

/pages
/pages/new
/pages/cool
/pages/ratings

Just chmodding /pages would normally work but it seems like your chmodding is messed up so try all above.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: [Paul] My CHMODs changed?!!? In reply to
Found this old thread because this is exactly what's happening to me in the exact same directory - "New"

The CHMOD actually hasn't *changed* on index.html in the New directory, it still reads "777".
I've tried deleting that file and replacing it.
I've modified it's permission through 3 different ftp and file manager clients (they all say 777)

Any other clues?

T
Quote Reply
Re: [digitalmedusa] My CHMODs changed?!!? In reply to
So index.html is 666, and the directory 777?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] My CHMODs changed?!!? In reply to
Thanks.

No - they are both 777. As they have been for a long time and as other index pages in other directories are. Is that wrong?

T
Quote Reply
Re: [digitalmedusa] My CHMODs changed?!!? In reply to
Yup..thats wrong ;) The index.html file should be 666, not 777 :p

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] My CHMODs changed?!!? In reply to
Hmm... funny.

Anyhow. Changed it to 666 and still get the error:

unable to open what's new page: /home/dragon/public_html/links/pages/New/index.html. Reason: Permission denied

Terry
Quote Reply
Re: [digitalmedusa] My CHMODs changed?!!? In reply to
Interesting. Would you mind sending me over your FTP details and I'll have as look for you? (PM or webmaster@ace-installer.com).

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!