From owner-freebsd-bugs@freebsd.org Wed Jan 18 11:24:04 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF57ECB6343 for ; Wed, 18 Jan 2017 11:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E42E10C1 for ; Wed, 18 Jan 2017 11:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0IBO40j046722 for ; Wed, 18 Jan 2017 11:24:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216224] [regression] `pw usermod $username -m` doesn't work after r286196 Date: Wed, 18 Jan 2017 11:24:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 11:24:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216224 Bug ID: 216224 Summary: [regression] `pw usermod $username -m` doesn't work after r286196 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ae@FreeBSD.org Keywords: regression pw usermod -m doesn't work after r286196. Now it requires directory name. An old FreeBSD 9: # pw user show btr btr:*:6666:20::0:0:Andrey Elsukov:/home/btr:/bin/csh # rm -rf /home/btr # pw usermod btr -m # ls -l /home/btr total 10 -rw-r--r-- 1 btr staff 898 Jan 18 14:02 .cshrc -rw-r--r-- 1 btr staff 186 Jan 18 14:02 .login -rw-r--r-- 1 btr staff 91 Jan 18 14:02 .login_conf -rw------- 1 btr staff 301 Jan 18 14:02 .mail_aliases -rw-r--r-- 1 btr staff 267 Jan 18 14:02 .mailrc -rw-r--r-- 1 btr staff 680 Jan 18 14:02 .profile -rw------- 1 btr staff 212 Jan 18 14:02 .rhosts -rw-r--r-- 1 btr staff 909 Jan 18 14:02 .shrc Recent FreeBSD 12 (stable/11 too): # pw user show btr btr:*:6666:0:russian:0:0:Andrey V. Elsukov:/home/btr:/bin/csh # rm -rf /home/btr # pw usermod btr -m # ls -l /home/btr ls: /home/btr: No such file or directory # pw usermod btr -d /home/btr -m # ls -l /home/btr ls: /home/btr: No such file or directory # pw usermod btr -d /home/btr/../btr -m # pw user show btr btr:*:6666:0:russian:0:0:Andrey V. Elsukov:/home/btr/../btr:/bin/csh # ls -l /home/btr total 10 -rw-r--r-- 1 btr wheel 983 18 =D1=8F=D0=BD=D0=B2. 14:22 .cshrc -rw-r--r-- 1 btr wheel 182 18 =D1=8F=D0=BD=D0=B2. 14:22 .login -rw-r--r-- 1 btr wheel 91 18 =D1=8F=D0=BD=D0=B2. 14:22 .login_conf -rw------- 1 btr wheel 301 18 =D1=8F=D0=BD=D0=B2. 14:22 .mail_aliases -rw-r--r-- 1 btr wheel 267 18 =D1=8F=D0=BD=D0=B2. 14:22 .mailrc -rw-r--r-- 1 btr wheel 728 18 =D1=8F=D0=BD=D0=B2. 14:22 .profile -rw------- 1 btr wheel 212 18 =D1=8F=D0=BD=D0=B2. 14:22 .rhosts -rw-r--r-- 1 btr wheel 909 18 =D1=8F=D0=BD=D0=B2. 14:22 .shrc --=20 You are receiving this mail because: You are the assignee for the bug.=