version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders

Pavel Sanda sanda at lyx.org
Wed Mar 3 11:23:23 UTC 2021


On Tue, Mar 02, 2021 at 12:49:39PM +0100, Robert Neumann wrote:
> Hello,
> I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder
> I installed RCS, and as long as I use it, the version controll works fine. As soon as I acces the file from another Computer it does not work properly anymore. I get this message:
> 
> Bei der Ausführung des Befehls /while executing
> 'co -p1.1 "Rundbrief_3_2021.lyx" > "/var/folders/fk/c_b11rp52kzddr83ky_w8d7m0000gn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' ist ein Fehler aufgetreten.  / there was an error
> 
> and when I try to check in the changes:
> 
> Bei der Ausführung des Befehls / while executing
> 'ci -q -u -m"(keine Protokollmeldung)??? ???test.lyx"' ist ein Fehler aufgetreten. / there was an error
> 
> So this seems to my, that the version control accesses some tmp-file which ??? of course ??? is not available on the other computer. I am not sure, if it might be a good idea, to change the tmp-path to the nextcloud. Especially since the local paths are different. 

I doubt it's related to the tmp directory.

When you check out the file is should be read-write, once you check-in it should-be read-only.
If this attribute is not set properly, RCS will fail.

So my first guess is that while Nextcloud transfers the content of the file it does not properly transfer read-write attributtes of the file.
Can you check it?

Pavel


More information about the lyx-users mailing list