Question
I have successfully installed twiki on one solaris system, but a second is systematically defeating my efforts to have
RCS store pages, resulting as expected in revision not changing. Details follow.
The symptom, of course, is that an edit and save does not give a new version of the topic. This is not quite the whole story.
Sometimes it does. For example, if I set the ,v file to unix permissions 664, the save is effective, and the new ,v file is set to 444, whereupon the problem recurs. I have a suspicion---that I can not document---that there may be other circumstances in which the rev
does change, but only once, i.e. a subsequent edit to the "successful" one keeps the same rev.
Since apache starts as root then sets user to the execution user, and the data directories are all owned by that user and writable to it, it is difficult to understand why the ,v files are apparently not being rewritten by the rcs invocation. All the binaries, (apache, gnu diff, gnu rcs) are executed from an NFS file system, but all the resources, including apache logs and all of twiki, are on the local machine.
FWIW, this very page on twiki.org exhibits obscure behavior about
RCS also. I have several times edited it to find that the rev didn't advance from 1.1. This paragraph is added against 1.2 and we'll see whether the page bumps to 1.3 or not.
Thanks for any suggestions.
Environment
--
BobMorris - 31 Oct 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Withdrawn unanswered while I scratch my head some more.
--
BobMorris - 01 Nov 2005
TWiki keeps the same rev of a topic if the same user saves the topic again within one hour (by default). This is done by design to prevent unneeded revisions when a user re-edits the same topic several times, e.g. to fix a typo.
--
PeterThoeny - 01 Nov 2005
Ah, so there was no issue in the first place after all. Thank you.
They key in my diagnosis should have been that (a)my pages sometimes
did change their rev and (b) this very topic page itself was not changing rev when I edited it and was itself not very likely to be problematic. In other words, I should have suspected nothing at all was wrong.
I've simplified the problem statement to eliminate all the needless and misleading diagnosis I did.
--
BobMorris - 01 Nov 2005