I'm trying to build search indices for the SuSE documentation in the KDE Help Center. When I tell it to build the indices it says it can't write to the conf files: Creating index for 'suselinux-adminguide.en' Unable to open '/var/cache/susehelp//suselinuxadminguideen.conf' for writing. Creating index for 'pam' Unable to open '/var/cache/susehelp//pam.conf' for writing. Creating index for 'howto.en' Unable to open '/var/cache/susehelp//howtoen.conf' for writing. Creating index for 'qt3' htdig failed Creating index for 'suselinux-userguide.en' Unable to open '/var/cache/susehelp//suselinuxuserguideen.conf' for writing. Creating index for 'cups' Unable to open '/var/cache/susehelp//cups.conf' for writing. Based on this: ls -ld /var/cache/susehelp/ drwxrwxr-x 2 root man 5432 2004-01-26 13:25 /var/cache/susehelp/ I put my user in the 'man' group hoping that would solve the problem. I now see the individual files are owned by root:root and are mod 644. What should I do? Change the ownership or permissions on the file in /var/cache/susehelp? Point the help indexer to something I have (exclusive) ownershiip of? Index the help as root? There are many possible approaches, and trying them all could take some time. Is there a 'correct' way to do this? STH
The Monday 2004-01-26 at 13:54 -0500, Steven T. Hatton wrote:
What should I do? Change the ownership or permissions on the file in /var/cache/susehelp? Point the help indexer to something I have (exclusive) ownershiip of? Index the help as root?
susehelp indexes are updated by suseconfig running as root. -- Cheers, Carlos Robinson
On Monday 26 January 2004 13:54, Steven T. Hatton wrote:
I'm trying to build search indices for the SuSE documentation in the KDE Help Center. When I tell it to build the indices it says it can't write to the conf files:
Creating index for 'suselinux-adminguide.en' Unable to open '/var/cache/susehelp//suselinuxadminguideen.conf' for writing. Creating index for 'pam' Unable to open '/var/cache/susehelp//pam.conf' for writing. Creating index for 'howto.en' Unable to open '/var/cache/susehelp//howtoen.conf' for writing. Creating index for 'qt3' htdig failed Creating index for 'suselinux-userguide.en' Unable to open '/var/cache/susehelp//suselinuxuserguideen.conf' for writing. Creating index for 'cups' Unable to open '/var/cache/susehelp//cups.conf' for writing.
Based on this: ls -ld /var/cache/susehelp/ drwxrwxr-x 2 root man 5432 2004-01-26 13:25 /var/cache/susehelp/
I put my user in the 'man' group hoping that would solve the problem. I now see the individual files are owned by root:root and are mod 644.
What should I do? Change the ownership or permissions on the file in /var/cache/susehelp? Point the help indexer to something I have (exclusive) ownershiip of? Index the help as root?
There are many possible approaches, and trying them all could take some time. Is there a 'correct' way to do this?
STH
Ok, This one was strange. I tried running it again, but hit apply instead of OK. Then I was promted for the root password. It sees to have worked fine thereafter. STH
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 26 January 2004 22:31, Steven T. Hatton wrote:
On Monday 26 January 2004 13:54, Steven T. Hatton wrote:
I'm trying to build search indices for the SuSE documentation in the KDE Help Center. When I tell it to build the indices it says it can't write to the conf files:
Creating index for 'suselinux-adminguide.en' Unable to open '/var/cache/susehelp//suselinuxadminguideen.conf' for writing. Creating index for 'pam' Unable to open '/var/cache/susehelp//pam.conf' for writing. Creating index for 'howto.en' Unable to open '/var/cache/susehelp//howtoen.conf' for writing. Creating index for 'qt3' htdig failed Creating index for 'suselinux-userguide.en' Unable to open '/var/cache/susehelp//suselinuxuserguideen.conf' for writing. Creating index for 'cups' Unable to open '/var/cache/susehelp//cups.conf' for writing.
Based on this: ls -ld /var/cache/susehelp/ drwxrwxr-x 2 root man 5432 2004-01-26 13:25 /var/cache/susehelp/
I put my user in the 'man' group hoping that would solve the problem. I now see the individual files are owned by root:root and are mod 644.
What should I do? Change the ownership or permissions on the file in /var/cache/susehelp? Point the help indexer to something I have (exclusive) ownershiip of? Index the help as root?
There are many possible approaches, and trying them all could take some time. Is there a 'correct' way to do this?
STH
Ok, This one was strange. I tried running it again, but hit apply instead of OK. Then I was promted for the root password. It sees to have worked fine thereafter.
STH
Ya Steve, I have noticed that for awhile now, say since back in 7.3 days. It's an ongoing kludge that apparently either isn't of any immediate interest to the devs or it remains a slippery problem waiting to be solved. In any case, if it works go with it? Cheers, Curtis. - -- Spammers Beware: Tresspassers will be shot, survivors will be shot again! Warning: Individuals throwing objects at the crocodiles will be asked to retrieve them! If pro is the opposite of con, then the opposite of progress must be congress! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAFy5aN9r/ngHXpykRAglCAJoDwMOvVhSz9JwbXlDn2pzWyjxMkgCfXCrd 0KdV3j45vAYVvrkhPLnt2Rs= =UnXO -----END PGP SIGNATURE-----
participants (3)
-
Carlos E. R.
-
Curtis Rey
-
Steven T. Hatton