On Thu, May 29, 2014 at 9:35 AM, Michai Ramakers <m.ramak...@gmail.com>
wrote:

> Hello,
>
> ran to something I didn't understand just now, and turned out to be
> (likely) a thing concerning permissions.
>
> In short, syncing with repo seems to work or not depending of
> perms/ownership of that repo:
>
> root@main:/tmp/ftmp# ls -ld * .
> drwxr-xr-x  2 root  wheel      512 May 29 15:32 .
> -rw-r--r--  1 ftp   ftp    3435520 May 29 15:32 f_f
> -rw-r--r--  1 root  wheel  3592192 May 29 15:32 r_w
> root@main:/tmp/ftmp# f sync r_w -R f_f
> Round-trips: 1   Artifacts sent: 0  received: 0
> Sync finished with 637 bytes sent, 615 bytes received
> root@main:/tmp/ftmp# f sync f_f -R r_w
> Round-trips: 1   Artifacts sent: 0  received: 0
> Error: Database error: unable to open database file: {CREATE TEMP
> TABLE onremote(rid INTEGER PRIMARY KEY);}
>

It is acting like you do not have write permission on /var/tmp.



> Round-trips: 1   Artifacts sent: 0  received: 0
> Sync finished with 638 bytes sent, 319 bytes received
> root@main:/tmp/ftmp# chown root.wheel f_f
> root@main:/tmp/ftmp# ls -ld * .
> drwxr-xr-x  2 root  wheel      512 May 29 15:33 .
> -rw-r--r--  1 root  wheel  3435520 May 29 15:33 f_f
> -rw-r--r--  1 root  wheel  3592192 May 29 15:33 r_w
> root@main:/tmp/ftmp# f sync f_f -R r_w
> Round-trips: 1   Artifacts sent: 0  received: 0
> Sync finished with 635 bytes sent, 614 bytes received
> root@main:/tmp/ftmp# f ver
> This is fossil version 1.29 [87130593e4] 2014-05-26 20:55:57 UTC
>
> Can anyone tell what happens under the hood here..?
>
> Michai
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to