ports creating files under /root - why?

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 19 16:34:44 UTC 2013


On Fri, Jul 19, 2013 at 04:46:48PM +0100, Anton Shterenlikht wrote:
> I noticed that some ports create directories/files
> under /root:
> 
> drwxr-xr-x   3 root  wheel   512 Mar 19  2012 .subversion
> drwxr-xr-x   2 root  wheel   512 Mar  4 10:23 .qt
> 
> drwxr-xr-x   2 root  wheel   512 Jul 10 15:27 .astkrc
> drwxr-xr-x   2 root  wheel   512 Jul 10 15:27 flasheur
> (these two are probably related to
> astk-client-1.11.0             cad/astk-client
> astk-serveur-1.11.0            cad/astk-serveur
> fr-aster-10.8.0.3              french/aster
> )
> 
> # ls -al /root/.local/share/webkit/
> total 12
> drwx------  3 root  wheel  512 Jan  3  2013 .
> drwx------  3 root  wheel  512 Jan  3  2013 ..
> drwx------  2 root  wheel  512 Jan 30 01:45 icondatabase
> # 
> 
> I thought everything goes under /usr/local.
> Am I wrong?
> 
No you are not, this is a clearly a fs violation.

The problem is it that tinderbox and pointyhat does not check for the content of
/root neither the one of /var. (poudriere does with -t).

Concerning the .local fs violation in particular, most of the time a simple
MAKE_ENV+=	XDG_CONFIG_HOME=/dev/null will fix it, (some kde ports are
already fixed for that.)
Another FS violation like this one is know to be done by the gstreamer ports,
well actually everything using gobject introspection, another macro has to be
set, gnome@ is already aware of it, I do hope a fix will be committed soon.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130719/8cb8afe2/attachment.sig>


More information about the freebsd-ports mailing list