Tuesday, December 14, 2010

How to fix CVS permission denied problem when checking in files?

Problem:

hsual@psgltpe014 $ cvs commit -m "updated HowToCVS.doc and .htm 
files" HowToCVS.doc Checking in HowToCVS.doc;
/opt/cvs/WebSite/Project/Environment/CVSControl/HowToCVS.doc,v  <--  HowToCVS.doc
new revision: 1.2; previous revision: 1.1
cvs [server aborted]: cannot rename file 
/opt/cvs/WebSite/Project/Environment/CVSControl/,HowToCVS.doc, to 
/opt/cvs/WebSite/Project/Environment/CVSControl/HowToCVS.doc,v: 
Permission denied
hsual@psgltpe014 $

Solution:

Right Click on /opt folder --> Properties --> Security --> 
Add Administrator, AlHsu and hsual users --> 
Remove everyone user --> Check Full Control for Administrator,
AlHsu and hsual --> Uncheck "Allow inheritable permissions
from parent to propagate to this object". --> Click OK.

Right Click on /opt/cvs folder --> Properties --> Security --> Remove everyone user --> Add Administrator, AlHsu and hsual users --> Check "Allow inheritable permissions from parent to propagate to this object". --> Click Advanced... --> Check "Reset permissions on all child objects and enable propagation of inheritable" --> Click OK --> Click OK

hsual@psgltpe014 $ 
hsual@psgltpe014 $ cvs commit -m "updated HowToCVS.doc and .htm files"             

Checking in HowToCVS.doc;

/opt/cvs/WebSite/Project/Environment/CVSControl/HowToCVS.doc,v  <--  HowToCVS.doc

new revision: 1.2; previous revision: 1.1

done

Checking in HowToCVS.htm;

/opt/cvs/WebSite/Project/Environment/CVSControl/HowToCVS.htm,v  <--  HowToCVS.htm

new revision: 1.2; previous revision: 1.1

done

hsual@psgltpe014 $ 

No comments: