Date: Thu, 19 Feb 2009 16:56:51 -0500 From: Aleksandr Miroslav <alexmiroslav@gmail.com> To: freebsd-questions@freebsd.org Subject: weird permissions on directories when installing ports through sudo Message-ID: <9fa4f0760902191356s7297d7b0ycac7ff0a885efd1f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
For the longest time, I have installed ports via the "sudo make install" or "sudo portupgrade" or "sudo portinstall" method and never had a problem. Recently, as of a few weeks ago, I started noticing that ports that were installed or upgraded were getting the wrong permissions. Not only were directories getting permissions of 700 (whereas previously they had been 755), but the directories /usr/local and entries in /var/db/pkg were getting permissions of 700. This is causing a lot of things to break, and I have to manually go in and make everything public for it to work again. This only happens when I build ports via sudo. If I am root and I run make install, everything works fine. I haven't changed anything recently either in sudo, or my umask. What can I do to fix this?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9fa4f0760902191356s7297d7b0ycac7ff0a885efd1f>