info-cvs
[Top][All Lists]
Advanced

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

RE: cvs server: cannot open /root/.cvsignore: Permission denied


From: Hanser, Kevin
Subject: RE: cvs server: cannot open /root/.cvsignore: Permission denied
Date: Tue, 27 Feb 2001 09:54:46 -0500

hmmm... sounds like you restarted inetd from the command prompt of a shell
on a RedHat system :)
On RedHat, when you restart inetd from the command line, it sets the HOME
variable to the current user, generally root.  So when you try to do
anything from cvs after that, it sees that, and gets confused.
Either start it @ bootup (restart your server - sometimes not practical), or
modify the inetd rc script to unset the HOME variable...

for example, I've added this to my /etc/rc.d/init.d/inet script:

# RH screws this up.. and it fucks up CVS if you restart inetd from the
# command line...
unset HOME

and that fixes it...

Kevin

-----Original Message-----
From: Develop01 [mailto:address@hidden
Sent: Monday, February 26, 2001 8:49 PM
To: Cvs (E-mail)
Subject: cvs server: cannot open /root/.cvsignore: Permission denied


although i initially created a cvs repository on a linux server as root,
when i try to access the repository from my windows machine as a normal cvs
user and do an import of a new project, the below error occurs:

cvs server: cannot open /root/.cvsignore: Permission denied

foolishing thinking that the .cvsignore file wasn't that important, as all
the files seemed to be deposited in the respository ok, i tried to then
check out the files of my project, i got the following:

cvs server: cannot open /root/.cvsignore: Permission denied
cvs [server aborted]: can't chdir(/root): Permission denied

anyone know how i can solve this problem?


many thanks...

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

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