Hi,

I have set a "nowrite" permission to a file using CHACL.
I then tried to commit the changes in this file, via WinCvs client, and I 
expected the action to fail.
However, although the commit itself didn't take place, the WinCvs client 
returned the following:

cvs server: User AAA is unable to write to ./ReadMe.txt - ignoring
***** CVS exited normally with code 0 *****

Why does CVS exist with code 0 and not with code 1?
How will the user know that the commit actually didn't take place, if the 
returned error code is 0?

This is much more problematic when trying to commit files via Visual Studio, as 
then, since the returned error code is 0 - the action seem to have succeeded, 
although it didn't, and there's no visual indication to that.


A similar thing happens on 'Update', when there's "noread" permission on the 
file.
However, and 'Edit' action does provide code 1, when it fails on ACL.


Am I doing something wrong?
Please advise.

Thanks,
Karin.

Reply via email to