Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/user Revert pullup of revision 1.31 (requested...



details:   https://anonhg.NetBSD.org/src/rev/a46d93b4215c
branches:  netbsd-1-4
changeset: 471205:a46d93b4215c
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 04 18:43:11 2000 +0000

description:
Revert pullup of revision 1.31 (requested by simonb):
  It's not necessarily the right thing to make home directory tree
  writable.

diffstat:

 usr.sbin/user/user.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r f7d129986f04 -r a46d93b4215c usr.sbin/user/user.c
--- a/usr.sbin/user/user.c      Sat Nov 04 18:38:29 2000 +0000
+++ b/usr.sbin/user/user.c      Sat Nov 04 18:43:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: user.c,v 1.10.2.8 2000/11/04 18:38:29 he Exp $ */
+/* $NetBSD: user.c,v 1.10.2.9 2000/11/04 18:43:11 he Exp $ */
 
 /*
  * Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
@@ -35,7 +35,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1999 \
                The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: user.c,v 1.10.2.8 2000/11/04 18:38:29 he Exp $");
+__RCSID("$NetBSD: user.c,v 1.10.2.9 2000/11/04 18:43:11 he Exp $");
 #endif
 
 #include <sys/types.h>
@@ -166,7 +166,6 @@
 };
 
 /* Full paths of programs used here */
-#define CHMOD          "/bin/chmod"
 #define CHOWN          "/usr/sbin/chown"
 #define MKDIR          "/bin/mkdir"
 #define MV             "/bin/mv"
@@ -389,7 +388,6 @@
                                skeldir, PAX, (verbose) ? "-v" : "", dir);
        }
        (void) asystem("%s -R -h %d:%d %s", CHOWN, uid, gid, dir);
-       (void) asystem("%s -R u+w %s", CHMOD, dir);
        return n;
 }
 



Home | Main Index | Thread Index | Old Index