Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 10:06:15 -0800 (PST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32336: cvsup-mirror permission problem
Message-ID:  <200111271806.fARI6Fm71381@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         32336
>Category:       ports
>Synopsis:       cvsup-mirror permission problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 27 10:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        4.4-STABLE
>Organization:
NetUSE AG
>Environment:
FreeBSD donkey.lan.raisdorf.net 4.4-STABLE FreeBSD 4.4-STABLE #4: Wed Oct 24 17:34:47 CEST 2001     hscholz@donkey.lan.raisdorf.net:/usr/src/sys/compile/DONKEY  i386

>Description:
The net/cvsup-mirror port by default creates two new users: cvsup and cvsupin.
The update.sh script writes the files as ${cuser} which is cvsupin.
The cvsupd runs as cvsup. Due to the 750 permissions of the cvs directories (/home/ncvs/* by default) the user cvsup cannot change into these directories leading to the following error when trying to use the cvsupd:

[...]
Nov 27 18:45:54 dionysus cvsupd[792]: Cannot open "/usr/local/etc/cvsup/prefixes/FreeBSD.cvs/ports/audio/bladeenc/files/patch-ad,v": Permission denied
[...]
>How-To-Repeat:
Install the net/cvsup-mirror port, run /usr/local/etc/cvsup/update.sh to update your repositories and then try to access your server with
cvsup.
>Fix:
This could be fixed by adding the user cvsup to the cvsupin group in /etc/group.
The make_account() function in pkg-install should be modified to
issue 'pw groupmod cvsupin -m cvsup' if needed.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111271806.fARI6Fm71381>