Le 02/08/2026 à 00:35, Santiago Vila a écrit :
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/./test", line 356, in test2
os.link('c', 'd')
~~~~~~~^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: 'c' -> 'd'
If you look at the context:
353 for x in 'a/c', 'c', 'd':
354 remove(x)
355 os.symlink('.', 'c')
356 os.link('c', 'd')
d does not exist, and c has just been created.
It's a mono-thread process with current directory being a temporary one that
was created at the test case setup.
So I don't see how it can be a bug in fssync nor even in its deps. For me, there's
something wrong at the kernel level. What FS is it ? Is it random ? Does adding a
sleep and/or sync between 355 & 356 help ?
Julien