[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvsignore
From: |
Mark D. Baushke |
Subject: |
Re: cvsignore |
Date: |
Wed, 22 Oct 2003 02:21:41 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
By default, cvs will try to add ~/.cvsignore to the wildcards found in
$CVSROOT/CVSROOT/cvsignore, ~/.cvsignore and in the CVSIGNORE
environment variable. As root is starting the cvs server side of the
connection it would seem likely that ~root/ is /root/ on your server
machine. I suggest that your administrator either make /root/.cvsignore
be readable by everyone or remove it.
You could also patch the ign_setup() function in src/ignore.c to avoid
trying to read a home directory ~/.cvsignore file if the -f flag
(corresponds to use_cvsrc=0) is present on startup.
Otherwise, the warning is just a warning and may be safely ignored.
Enjoy!
-- Mark
kent emia <address@hidden> writes:
> On Wed, 2003-10-22 at 16:34, Gisbert Amm wrote:
> > Would you mind me asking for the whole output of your cvs co?
> ok i will start from the 1st step i am in my workstation
>
> address@hidden repo]$ cvs login
> Logging in to :pserver:address@hidden:2401/repo
> CVS password:
> address@hidden repo]$
>
> ##checking out the CVSROOT
>
> address@hidden repo]$ cvs co CVSROOT
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs server: Updating CVSROOT
> U CVSROOT/checkoutlist
> U CVSROOT/commitinfo
> U CVSROOT/config
> U CVSROOT/cvswrappers
> U CVSROOT/editinfo
> U CVSROOT/loginfo
> U CVSROOT/modules
> U CVSROOT/notify
> U CVSROOT/rcsinfo
> U CVSROOT/taginfo
> U CVSROOT/verifymsg
> address@hidden repo]$
>
> ##CHECKING OUT ONE OF OUR TEST FOLDERS
>
> address@hidden repo]$ cvs co cdr
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs server: Updating cdr
> cvs server: Updating cdr/docs
> U cdr/docs/test.doc
> cvs server: Updating cdr/gui
> U cdr/gui/gui.java
> cvs server: Updating cdr/jars
> U cdr/jars/rt.jar
> cvs server: Updating cdr/proj
> U cdr/proj/proj.java
> cvs server: Updating cdr/utils
> U cdr/utils/time.java
> address@hidden repo]$
>
> ## CHECKING OUT ANOTHER TEST FOLDER
>
> address@hidden repo]$ cvs co cdrAdmin
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs server: Updating cdrAdmin
> cvs server: Updating cdrAdmin/demo
> U cdrAdmin/demo/Files.java
> cvs server: Updating cdrAdmin/docs
> U cdrAdmin/docs/FinalDoc.doc
> address@hidden repo]$
>
> > Could you please do a "whoami"
> kent
>
> > and "ls -la" in addition and send the output aswell?
>
>
> address@hidden repo]$ ls -la
> total 20
> drwxrwxr-x 5 kent kent 4096 Oct 22 16:56 .
> drwxrwxr-x 4 kent kent 4096 Oct 22 13:37 ..
> drwxrwxr-x 8 kent kent 4096 Oct 22 16:56 cdr
> drwxrwxr-x 5 kent kent 4096 Oct 22 16:56 cdrAdmin
> drwxrwxr-x 3 kent kent 4096 Oct 22 16:54 CVSROOT
> address@hidden repo]$
>
> >
>
> i can't find it in the FAQ regarding my error
>
> > Gisbert Amm
> >
> > > -----Original Message-----
> > > From: kent emia [mailto:address@hidden
> > > Sent: Wednesday, October 22, 2003 10:29 AM
> > > To: Gisbert Amm
> > > Cc: info-CVS
> > > Subject: RE: cvsignore
> > >
> > >
> > > On Wed, 2003-10-22 at 16:16, Gisbert Amm wrote:
> > > > As which user do you checkout the CVSROOT directory on the
> > > remote host?
> > > >
> > > uhuh... by using pserver logging in the user both remote and local im
> > > still having the
> > > 'cvs server: cannot open /root/.cvsignore: Permission denied'
> > >
> > > what am i missing??
> > >
> > >
> > > --
> > > kent emia <address@hidden>
> > >
> --
> kent emia <address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/lkwl3x41pRYZE/gRAttwAKDI2d0CGebfRvsAwyNrQI91ArSwXgCeM4Wx
Gb3lDMezzXGPZYDZef4PLKE=
=QiE1
-----END PGP SIGNATURE-----