RE: How to restore Attic files in CVS - cannot open CVS/Entries for reading: No such file or directory

"Trinh, An" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Hi Larry,

While running the update command I'm getting this error.  Please advise.

boc01% /usr/local/bin/cvs -d /opt/prodcvs update -j 1.2 -j 1.1
/opt/prodcvs/eai/APRT/EA_APRT_LOAD.esql,v
cvs update: cannot open CVS/Entries for reading: No such file or
directory
cvs update: use `cvs add' to create an entry for
/opt/prodcvs/eai/APRT/EA_APRT_LOAD.esql,v
cvs [update aborted]: cannot open CVS/Root: No such file or directory 


boc01% pwd
/opt/prodcvs/eai/APRT
boc01% ls -altr
total 34
-rwxrwx---+  1 c62ip74  cvs_eai      794 Mar 18 08:11 .project,v
-rwxrwx---+  1 c62ip74  cvs_eai     4153 Mar 18 08:11
EA_APRT_LOAD.msgflow,v
drwxrws---+146 root     cvs_eai     4608 Apr  2 14:25 ..
drwxrws---+  2 c62ip74  cvs_eai      512 Apr  3 09:41 Attic
-rwxrwx---+  1 c62ip74  cvs_eai     3136 Apr  3 13:08
EA_APRT_LOAD.esql,v
drwxrws---+  3 11906    cvs_eai      512 Apr  6 10:41 .

Thanks,
An.

-----Original Message-----
From: Larry Jones [mailto:[email protected]] 
Sent: Monday, April 06, 2009 3:49 PM
To: Trinh, An
Cc: Peter Toft; Jim Hyslop; [email protected]
Subject: Re: How to restore Attic files in CVS - Permission Denied

Trinh, An writes:
> 
> /usr/local/bin% cvs update -j 1.2 -j 1.1 
> /opt/prodcvs/eai/APRT/EA_APRT_LOAD.esql,v
> permission denied
> cvs [update aborted]: end of file from server (consult above messages 
> if
> any)

That implies that the user you're logging in to the server as doesn't
have write permission in that directory (/opt/prodcvs/eai/APRT).

> I'm using csh and the CVSROOT is set to:
> CVSROOT=:ext:c62ip74@boc01:/opt/prodcvs

Note that CVS doesn't use $CVSROOT when running in a working directory,
it uses the value saved in CVS/ROOT instead, so you may not be logging
in as the user you think you are.  To force CVS to use $CVSROOT, use it
as the value of the -d global option:

	cvs -d $CVSROOT update -j 1.2 -j 1.1
--
Larry Jones

Years from now when I'm successful and happy, ...and he's in prison... I
hope I'm not too mature to gloat. -- Calvin


CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not distribute and delete the original message.  Please notify the sender by E-Mail at the address shown. Thank you for your compliance.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.