Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2006 00:33:00 +0200
From:      martinko <martinkov@pobox.sk>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   portsnap recreates /usr/ports for no apparent reason
Message-ID:  <e6vbis$tif$1@sea.gmane.org>

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

i've just discovered strange and unexpected behaviour of portsnap:
i configured sudo to allow me to run the script with the following contents:
/usr/sbin/portsnap fetch
/usr/sbin/portsnap update
/usr/local/sbin/portversion -v -l "<"
/usr/local/sbin/portaudit -Fda
to be precise -- i allow my user to run (via sudo) any of the programs
above plus the script itself.
now when i first ran the script as a normal user via sudo, portsnap
deleted and recreated the whole /usr/ports directory structure.
subsequent runs went as expected. then i ran the script from root as i
had been always doing and again portsnap deleted and recreated the whole
ports directory structure.
i guess this is not intended right?
or am i missing something here?

cheers,

martin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6vbis$tif$1>