FW: Problems dowmloading rtems-graphics-toolkit

Ralf Corsepius ralf.corsepius at rtems.org
Wed Nov 10 09:30:03 UTC 2010


On 11/09/2010 03:51 PM, Joel Sherrill wrote:
> On 11/09/2010 06:35 AM, Kirchner, Ralf wrote:
>> HiJoel,
>> I am trying to download the rtems-graphics.toolkit without any success
>> so far.
>> Unfortunately I have to work on a Windows machine.
>> This is what I have tried:
>> 1.
>> Download from
>> _http://www.rtems.com/cvsweb/cvsweb.cgi/rtems-graphics-toolkit/_
>> - If I click on link "tarball" or "zip archive" I always get the
>> following error messages:
>> Error: Export failure (exit status 1), output:
>> cvs export: failed to create lock directory for `/usr1/CVS/CVSROOT'
>> (/usr1/CVS/CVSROOT/#cvs.history.lock): Permission denied
>> cvs export: failed to create lock directory for
>> `/usr1/CVS/rtems-graphics-toolkit'
>> (/usr1/CVS/rtems-graphics-toolkit/#cvs.lock): Permission denied
>> cvs export: failed to obtain dir lock in repository
>> `/usr1/CVS/rtems-graphics-toolkit'
>> cvs [export aborted]: read lock failed - giving up
>
> This one I hope someone on the list has advice on. The
> CVS tree is owned by user cvspserver. Apache is running
> as another user. The cvsweb.cgi program does not have
> permissions to write the lock into the directory because
> it is running as another user.
>
> For normal pserver interaction, you are running the service
> which is running as the dedicated cvspserver user.
>
> Any ideas out there?


AFAICT, there are 2 issues interacting:

a) a bug/defect in cvsweb.cgi

I just filed a bug on this to RH's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=651668

b) cvsweb.cgi doesn't support pserver authentication, but only supports 
direct cvs-repository access.

I.e. to allow cgiweb.cgi to "cvs export" tarballs (this is what it 
actually does during tarball creation), you need to tweak file/directory 
permissions in such a way that the user running cgiweb.cgi (user: 
apache) has direct read-only access to the files below /usr1/CVS and 
read-write access to the directories below /usr1/CVS.

Ralf





More information about the users mailing list