Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

The def file Links.def is not writeable

Quote Reply
The def file Links.def is not writeable
Okay...I haven't used the editor.cgi script in awhile, but I noticed that all my weight values for the Links and Category tables were reset.

So, when I tried to re-configure the weight values, I get the following error message:

In Reply To:

The def file Links.def is not writeable, be sure to set permissions accordingly.


I do have the def folders set to 777:

Code:

drwxrwxrwx 9 anthrote bbsuser 1024 Feb 8 23:35 defs


Code:

drwxrwxrwx 2 anthrote bbsuser 512 Dec 22 19:02 atdigest
drwxrwxrwx 2 anthrote bbsuser 512 May 19 00:45 career
drwxrwxrwx 2 anthrote bbsuser 512 Dec 2 2000 contacts
drwxrwxrwx 2 anthrote bbsuser 512 Oct 12 2000 forum
drwxrwxrwx 2 anthrote bbsuser 1024 Dec 21 22:14 links
drwxrwxrwx 2 anthrote bbsuser 512 May 6 12:35 members
drwxrwxrwx 2 anthrote bbsuser 512 May 13 23:03 utilities
www21:/path/to/anthrotech/cgibin/admin/defs#


I also tried 766 and the same permission error occurred.

And I have the Links.def file set to 666:

Code:

-rw-rw-rw- 1 anthrote bbsuser 2155 May 19 13:43 Links.def


Any ideas why I am getting a permission error in editor.cgi script?

Alternatively, is there a way to use MYSQLMAN to re-configure the INDEX weight values? If so, would someone be so kind as to point me in the right direction...

Thanks in advance!

Regards,

Eliot Lee
Quote Reply
Re: The def file Links.def is not writeable In reply to
Hi Eliot,

Is the file set to 777 ...

In Reply To:
The def file Links.def is not writeable
... as opposed to the folder?

I know this may be obvious so apologies if you've already tried this Smile

All the best
Shaun

Quote Reply
Re: The def file Links.def is not writeable In reply to
Hi, qango...

I did try using 777 and 766 for the .def files and still no go...still getting the writable permission error. And based on the default configurations, the .def files only need to be set to 666 to make them world-writable.

Appreciate the reply though...hopefully someone will be able to point me in the right direction.

Regards,

Eliot Lee
Quote Reply
Re: The def file Links.def is not writeable In reply to
UPDATE...

Well, I remmed out all the file permission check codes in the editor.cgi script...but the file was still not updated....

So, I manually added 'weightvalue' at the end of the attributes for the fields in the LINKS.DEF file and the indexing is back to "normal"....

I guess I will avoid using the editor.cgi to set weight values for fields.

Regards,

Eliot Lee