From owner-freebsd-commit Sun Apr 9 02:21:06 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA13720 for commit-outgoing; Sun, 9 Apr 1995 02:21:06 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA13707 for cvs-usrsbin-outgoing; Sun, 9 Apr 1995 02:21:03 -0700 Received: (from joerg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA13697 ; Sun, 9 Apr 1995 11:20:50 +0200 Date: Sun, 9 Apr 1995 11:20:50 +0200 From: Joerg Wunsch Message-Id: <199504090920.LAA13697@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rmt rmt.c Sender: commit-owner@FreeBSD.org Precedence: bulk joerg 95/04/09 11:20:49 Modified: usr.sbin/rmt rmt.c Log: The rmt protocol didn't allow to pass a file creation mode (permission bits) along, and rmt did the wrong thing in calling open(2) with random garbage as third parameter. Make it create new files with 0666 (modified by the umask of the remote shell anyway). This removed the last show-stopper from tar not working with remote archives.