[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setuid/gid Error in CVS
From: |
Gagneet Singh |
Subject: |
Setuid/gid Error in CVS |
Date: |
Mon, 8 Mar 2004 21:16:15 +0530 |
Hi!
I am getting a peculiar problem with CVS.
In the output pane of WinCVS, the following message is coming whenever I
try to commit anything and the commit falls through.
cvs commit -m "Redundant test files have been removed from the CVS
repository.\nThese files had ..." data_section1.asm data_section2.asm
data_section4.asm (in directory D:\My Documents\Test\TestBase\)
Can't do setuid
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
***** CVS exited normally with code 1 *****
I have got the scripts 'cvslog' and 'cvs_acls' in the repository of the
CVS server and these are being used for Acess control and formatting the
mail to be sent to the users.
The problem occured when I changed some settings and users in the
/etc/passwd file. I am using CVS as a pserver with the passwords coming
from the /etc/passwd file. So that this change made all the users UserID
change. Now when I tried to change the users in the repository also, I
had no problems initially, but after restarting the CVS services, I got
the problem.
When I changed the permissions of the 'cvs_acls' script from 2775 to
2777, the follwoing message is coming, and the loginfo script is not
sending the mails, but commits are going through:
Setuid/gid script is writable by world.
***** CVS exited normally with code 0 *****
Please help.
Gagneet