emacs installs a lot of 777 directories

Giorgos Keramidas keramida at freebsd.org
Sun Mar 15 13:16:48 PDT 2009


On Fri, 6 Mar 2009 23:56:10 +0100 (CET), freebsd001 at pc.jgr.de wrote:
> 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.

This seems to be a local installation glitch.

>>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

% uname -vr
8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Mar 13 16:39:47 EET 2009     build at kobe:/usr/obj/usr/src/sys/KOBE
% pwd
/usr/local/share
% find . -not -user root -exec ls -ld {} + | head -3
-rw-rw-r--  1 games  games  0 Mar 14 19:06 ./games/glines.Large.scores
-rw-rw-r--  1 games  games  0 Mar 14 19:06 ./games/glines.Medium.scores
-rw-rw-r--  1 games  games  0 Mar 14 19:06 ./games/glines.Small.scores
% find . -not -user root -a -not -user games -exec ls -ld {} +
%

So the only files that are not owned by root here are those owned by the
`games' user.

You have many hundreds of files owned by != root users.  Who owns those
files, and do yu remember how the relevant ports have been installed?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20090315/e1681931/attachment.pgp


More information about the freebsd-security mailing list