Re: emacs installs a lot of 777 directories

看板FB_security作者時間17年前 (2009/04/06 11:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/21 (看更多)
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/ _______________________________________________ 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"
文章代碼(AID): #19sN6k00 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #19sN6k00 (FB_security)