#9 cvs-update crashes with read-only files

open
nobody
cvs (10)
5
2004-01-16
2004-01-16
No

When you try to update files with the cvs-update NAnt
task and the file is read-only (e.g. previously checked
out/update with Tortoise) it crashes with a
UnauthorizedAccessException.

Doing the same thing with read-only attribute removed
works fine.

Also, if I do a cvs-checkout all files don't have the read-
only flag set.

Discussion

  • Logged In: YES
    user_id=949257

    Is this only when you have files with the read only attribute set on the filesystem and CVS mirriros that, or is this in conjunction with having watches enabled?
    /Nicke

     
  • Logged In: YES
    user_id=695643

    I'm not so familiar with CVS, so I don't know about watches.

    It happens when the read only attribute is set on the
    filesystem. I just got the file from CVS with Tortoise (which
    sets the RO attribute on the file system), and then try a cvs-
    update. I did nothing else with CVS with that file.

     
  • Logged In: YES
    user_id=949257

    Ok, thanks for the info :)