On Sun, 2002-03-10 at 13:56, Patrick Nelson wrote: > Bill Crawford wrote: > ----------------->>>> > Try running the commit like "su $user -c 'cvs commit ...'" > Restrictions on doing things as root are usually there with good reason, I'd > try to figure a way of avoiding it. > Can you not run the root stuff in one screen/terminal and the cvs stuff in > another? > ----------------->>>> > Nope that doesn't work. The commits seem to work but then there is an error > of the nature of: > > cvs commit: Examining . > Checking in il.txt; > /usr/local/cvsroot/bon/il/il.txt,v <-- il.txt > new revision: 1.3; previous revision: 1.2 > done > cvs commit: cannot open CVS/Entries.Log: Permission denied ... > Make sense seeing I'm in a root permission dir... Arg... > > So me thinks that maybe a better description of what I'm doing might shed > some light on someone being able to help me with my solution.
Set the repository up as a normal user, not root. For lots of information on cvs, read the cvs book here: http://cvsbook.red-bean.com/ Buy it if you plan to do a lot with CVS.
signature.asc
Description: This is a digitally signed message part