Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 09:25:58 +0200
From:      Mark Ruys <mark@paracas.nl>
To:        freebsd-stable@FreeBSD.ORG
Subject:   World writable files in RELENG_3
Message-ID:  <4.3.1.2.20000527091718.00b2e650@pop.paracas.nl>

next in thread | raw e-mail | index | archive | help

I've CVSuped src-all from RELENG_3 (stable 3.4) and did a make world. I 
noticed several world-writable files in /usr/obj, amoung which:

drwxrwxrwx  2 uucp  uucp  512 May 20 16:53 
/usr/obj/usr/src/tmp/var/spool/uucppublic
-rw-rw-rw-  1 root  wheel  14336 May 20 18:47 /usr/obj/usr/src/share/isdn/0.al
-rw-rw-rw-  1 root  wheel  14336 May 20 18:47 /usr/obj/usr/src/share/isdn/1.al
-rw-rw-rw-  1 root  wheel  12288 May 20 18:47 /usr/obj/usr/src/share/isdn/2.al
-rw-rw-rw-  1 root  wheel  14336 May 20 18:47 /usr/obj/usr/src/share/isdn/3.al
-rw-rw-rw-  1 root  wheel  14336 May 20 18:47 /usr/obj/usr/src/share/isdn/4.al
-rw-rw-rw-  1 root  wheel  16384 May 20 18:47 /usr/obj/usr/src/share/isdn/5.al
-rw-rw-rw-  1 root  wheel  12288 May 20 18:47 /usr/obj/usr/src/share/isdn/6.al
-rw-rw-rw-  1 root  wheel  10240 May 20 18:47 /usr/obj/usr/src/share/isdn/7.al
-rw-rw-rw-  1 root  wheel  14336 May 20 18:47 /usr/obj/usr/src/share/isdn/8.al
-rw-rw-rw-  1 root  wheel  10240 May 20 18:47 /usr/obj/usr/src/share/isdn/9.al
-rw-rw-rw-  1 root  wheel  4608 May 20 18:47 
/usr/obj/usr/src/share/isdn/beep.al
-rw-rw-rw-  1 root  wheel  67584 May 20 18:47 
/usr/obj/usr/src/share/isdn/msg.al

The cause is a mask of 666, for example in /usr/src/share/isdb/0.al.uu:

begin 666 0.al
...
end

Also, shouldn't the sticky bit be set in 
/usr/obj/usr/src/tmp/var/spool/uucppublic?

Is there a good reason for these 666 files? I'm not confortable with them.

Mark Ruys



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000527091718.00b2e650>