[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVSROOT history read/write permission error (on "cvs import")
From: |
Dr Jaime V. Miro |
Subject: |
Re: CVSROOT history read/write permission error (on "cvs import") |
Date: |
Fri, 12 Oct 2001 17:21:10 +0100 |
Hi Larry,
I kinda figured there were a problem with file permissions. To that end, I
uninstalled
cvs 1.10 and downloaded and installed 1.11.1p. But this time, I ran the command
"cvs init"
as a normal user (once the user was added to "cvs" group) instead of root as
suggested in HOWTO
(http://www.linuxdoc.org/HOWTO/CVS-RCS-HOWTO-3.html). This time,
$CVSROOT/CVSROOT/history
was created by a user in the cvs group and it all works fine. I guess if root
was also
a group member of "cvs" it would all work fine. But I am not easy with that
setup.
I haven't seen many postings with a reference to this problem, so I figure
there is
another document where a different setup is explained. Otherwise, I'll feel
pretty dumb ... :-(
Thanks very much. The trouble has just started I guess :-)
Regards,
Jaime
Larry Jones wrote:
>
> Dr Jaime V. Miro writes:
> >
> > According to HOWTO, import is executed as a normal user, whereas $CVROOT
> > (under which the repository is installed) and files under have got
> > root permissions only (o/g/u), which is the way it was installed.
> > I can see why is giving me the permission error, but I did everything
> > "by the book", or so I believe. I could manually change permissions to
> > $CVSROOT and it might work, but I'd rather not. I am sure there is a
> > reasonable explanation and solution.
>
> HOWTO is wrong or you misunderstood it. See the manual:
> <http://www.cvshome.org/docs/manual/cvs_2.html#SEC13>
>
> Note that in $CVSROOT/CVSROOT, both the history file and the val-tags
> file should be world writable.
>
> -Larry Jones
>
> Something COULD happen today. And if anything DOES,
> by golly, I'm going to be ready for it! -- Calvin