info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CHACL problem - why does CVS exist with code 0 when commit fails?


From: Arthur Barrett
Subject: RE: CHACL problem - why does CVS exist with code 0 when commit fails?
Date: Wed, 23 Apr 2008 12:21:17 +1000

Kevin,

You are using CVSNT - please contact the CVSNT newsgroup (cvs chacl is a
CVSNT specific feature):
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
or
news://news.cvsnt.org/support.cvsnt

Note: there is a FAQ:
http://www.march-hare.com/cvspro/faq/faq2.asp#2z

The display you are reading is WInCVS - you may also want to contact
their newsgroup:
http://groups.yahoo.com/subscribe/cvsgui



Regards,


Arthur Barrett

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Karin Avramzon
Sent: Tuesday, 22 April 2008 8:56 PM
To: address@hidden
Subject: CHACL problem - why does CVS exist with code 0 when commit
fails?


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

[Prev in Thread] Current Thread [Next in Thread]