Date: Sat, 7 Mar 2009 12:24:43 +0900 From: Daniel Marsh <jahilliya@gmail.com> To: freebsd001@pc.jgr.de, freebsd-security@freebsd.org Subject: Re: emacs installs a lot of 777 directories Message-ID: <ba5e78ea0903061924y362d3af3jada7ba537e7214ce@mail.gmail.com> In-Reply-To: <200903062256.n26MuA2r085728@pc.jgr.de> References: <200903062256.n26MuA2r085728@pc.jgr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Isn't best practice to build as a user and install as root? Make install should su - root to ensure the uid and euid are both 0 Regards Daniel On 3/7/09, freebsd001@pc.jgr.de <freebsd001@pc.jgr.de> wrote: > March 06, 2009 > Dear list members, > > I am not only wondering about the permissions of several > emacs-related directories as it has recently been mentioned > in this thread, but also about the ownership of several > emacs-related files. On several of my systems, a user in > the group wheel did su to become root and when installed > emacs via the ports by means of make and make install. Many > files installed are not owned by root as I would expect, > but by this user: > >>uname -r -s > FreeBSD 6.3-RELEASE-p9 >>pwd > /usr/local/share >>find . -not -user root | head -n 3 > ./emacs/22.3/etc > ./emacs/22.3/etc/GNUS-NEWS > ./emacs/22.3/etc/fr-drdref.ps >>find . -not -user root | wc -l > 2643 >> > > With best regards > Joachim Griesche > > freebsd001@pc.jgr.de > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > -- Sent from my mobile device http://buymeahouse.stiw.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba5e78ea0903061924y362d3af3jada7ba537e7214ce>