problems with winCVS

Tobias Strasser tobias.strasser at daynetwork.com
Mon Feb 21 12:14:04 GMT 2000


hi everybody,
we have problems using wincvs with a cvsroot on a samba-server. we 
think that the problem is the renaming of files where the cvs user does
not have write-permisson on:

this is our configuration:

fileserver on a irix6.5 running samba 1.9.18p8
  having a share on / named 'coder'.
  
win95 box, running wincvs, setting cvsroot something like
  \\cvsserver\coder\projects\cvsroot

problem:
when i do a commit on a file on which i'm not the owner, wincvs reports:

cvs [commit aborted]: cannot rename file
\\cvsserver\projects\cvsroot/src/,test.c, to
\\cvsserver\projects\cvsroot/src/test.c,v: File exists

althought the directory permissions would allow a rename:
(i have userid=tripod, group=coder)

-rw-rw-r--    1 tripod   coder       4607 Feb 19 10:36 ,test.c,
drwxrwxr-x    4 spiff    coder       4096 Feb 19 10:36 .
drwxrwxr-x   24 spiff    coder       4096 Feb 18 21:53 ..
-r--r--r--    1 spiff    coder        190 Nov 19 21:11 .cvsignore,v
drwxrwxr-x    2 spiff    coder         51 Dec 10 11:41 Attic
drwxrwxr-x    2 spiff    coder          9 Feb 18 21:33 Debug
-r--r--r--    1 spiff    coder       4456 Nov 19 18:33 test.c,v

(actually the rename action would be a delete/rename).

if i change the owner of the file, it works. if i give write
permission to the 'group' it works, too.

now, the problem is, that the cvs on unix can handle this. i'm not
quite sure, if it's a problem of wincvs or of samba.

however, can i setup samba that it allows renames of files, which i
don't own and where i have no write permission but where i have write
permission on the directory?

tnx in advance,
regards, toby


More information about the samba mailing list