Johannes Winkelmann wrote:
On Fri, Dec 09, 2005 at 00:06:20 +0100, Predrag Ivanovic wrote:
[...]
A question,if I may. After checkout I get the following : -- Error: Couldn't chroot into /usr/ports/rsync/opt (Operation not permitted) Updating failed --- Same error with contrib,core and contrib-test. Since I'm using Han's pkgutils,I run ports -u as non-root,and all directories under /usr/ports are owned by that user(all permissions are OK,AFAICT).
Basically, it just uses /usr/ports/opt as its new root, which is a really effective way to make sure we don't accidently remove other files (since they're not accessible from within this chroot environment). We'll try to find a better solution for it soon, stay tuned :-).
Hi Pedja, I've prepared a new driver file which falls back to plain old chdir() and path validation when running as a normal user. Can you put this to /etc/ports/drivers/rsync and see if it fixes your problem: http://www.karsikkopuu.net/crux/misc/rsync Regards, Jukka