Browse Source

UUCP is no longer contained in the base system, so its home directory

does not require special permissions.  The security(8) scripts hates
group-writeable home directories, so remove the needless permissions.
Issue noticed by Andrew Fresh <andrew at afresh1 dot com>.
If i understand naddy@ correctly, this is unlikely to harm even UUCP users.
"Just remove the group writeable bit" deraadt@.
OPENBSD_5_0
schwarze 13 years ago
parent
commit
54d47ad369
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      src/etc/mtree/4.4BSD.dist
  2. +2
    -2
      src/etc/mtree/4.4BSD.var
  3. +2
    -2
      src/etc/mtree/special

+ 2
- 2
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.214 2011/01/24 10:39:46 jakob Exp $
# $OpenBSD: 4.4BSD.dist,v 1.215 2011/04/19 21:39:18 schwarze Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
# . # .
@ -2475,7 +2475,7 @@ uucp uname=uucp gname=daemon
.. ..
# ./var/spool/uucppublic # ./var/spool/uucppublic
uucppublic uname=uucp gname=daemon mode=01775
uucppublic uname=uucp gname=daemon mode=0755
# ./var/spool/uucppublic # ./var/spool/uucppublic
.. ..


+ 2
- 2
src/etc/mtree/4.4BSD.var View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.var,v 1.13 2010/09/22 13:01:10 deraadt Exp $
# $OpenBSD: 4.4BSD.var,v 1.14 2011/04/19 21:39:18 schwarze Exp $
# $NetBSD: 4.4BSD.var,v 1.3 1996/05/12 23:30:47 thorpej Exp $ # $NetBSD: 4.4BSD.var,v 1.3 1996/05/12 23:30:47 thorpej Exp $
# #
# user: bostic # user: bostic
@ -376,7 +376,7 @@ XTMP type=dir
# ./spool/uucppublic # ./spool/uucppublic
uucppublic type=dir mode=0775
uucppublic type=dir mode=0755
# ./spool/uucppublic # ./spool/uucppublic
.. ..


+ 2
- 2
src/etc/mtree/special View File

@ -1,4 +1,4 @@
# $OpenBSD: special,v 1.92 2011/01/19 21:26:35 david Exp $
# $OpenBSD: special,v 1.93 2011/04/19 21:39:18 schwarze Exp $
# $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $ # $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $
# @(#)special 8.2 (Berkeley) 1/23/94 # @(#)special 8.2 (Berkeley) 1/23/94
# #
@ -213,6 +213,6 @@ output type=dir mode=0775 uname=root gname=daemon ignore
.. #var/spool/output .. #var/spool/output
uucp type=dir mode=0755 uname=uucp gname=daemon ignore uucp type=dir mode=0755 uname=uucp gname=daemon ignore
.. #var/spool/uucp .. #var/spool/uucp
uucppublic type=dir mode=01775 uname=uucp gname=daemon ignore
uucppublic type=dir mode=0755 uname=uucp gname=daemon ignore
.. #var/spool/uucppublic .. #var/spool/uucppublic
.. #var/spool .. #var/spool

Loading…
Cancel
Save