Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 22:03:49 +0300
From:      Eitan Adler <eitanadlerlist@gmail.com>
To:        ports@freebsd.org
Subject:   feature request for portmaster: check for permissions on  --check-depends and friends
Message-ID:  <u2ta0777e081004251203t90986559m54fe956b679801@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
When I run portmaster with --check-depends or --check-port-dbdir  as a
non-root user portmaster will continue to attempt to write to the db
dir.
For example
===>>> Checking jpeg-8_1
	===>>> Updating +REQUIRED_BY
install: /var/db/pkg/jpeg-8_1/+REQUIRED_BY: Permission denied

portmaster should check before it goes through the whole process and
see if it has write access to /var/db/ports.



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