arla 0.25 and cvs

Enrico Scholz enrico.scholz at wirtschaft.tu-chemnitz.de
Sat Jun 5 02:04:27 CEST 1999


Hi,

with arla 0.25, cvs seems to have problems to close files on AFS
volumes. I don't know if 0.24 has the same problem, but 0.23 worked
correctly.


The interesting part of strace'ing "cvs -d <an AFS path> commit -f
-m ''" is:

------------------
open("/home/ensc/afs/ensc/PUBLIC/test/test/,ttt.txt,", O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0444) = 10
fchmod(10, 0100444)                     = 0
fcntl(10, F_GETFL)                      = 0x1 (flags O_WRONLY)
fstat(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
_llseek(10, 0, {0}, SEEK_CUR)           = 0
write(10, "head\t1.1;\naccess;\nsymbols;\nl"..., 137) = 137
write(10, "\n\n1.1\nlog\n@*** empty log mes"..., 47) = 47
close(10)                               = -1 EACCES (Permission denied)
------------------


At another system with TransArc AFS the whole procedure works.



My system is linux 2.2.9, glibc 2.1. The rights to the directory are

------------------
$ fs la .
Access list for . is
Normal rights:
  system:anyuser rlidwka
  ensc rlidwka
------------------








Enrico

-- 
eMail:  enrico.scholz at wirtschaft.tu-chemnitz.de
talk:   ensc at ultra.csn.tu-chemnitz.de






More information about the Arla-drinkers mailing list