emacs installs a lot of 777 directories

Daniel Marsh jahilliya at gmail.com
Fri Mar 6 19:24:44 PST 2009


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 at pc.jgr.de <freebsd001 at 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 at pc.jgr.de
>
> _______________________________________________
> freebsd-security at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe at freebsd.org"
>

-- 
Sent from my mobile device


http://buymeahouse.stiw.org/


More information about the freebsd-security mailing list