From owner-freebsd-bugs@freebsd.org Thu Sep 6 04:27:01 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75719FE70CF for ; Thu, 6 Sep 2018 04:27:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 12353847E1 for ; Thu, 6 Sep 2018 04:27:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CB438FE70CE; Thu, 6 Sep 2018 04:27:00 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9690FE70CC for ; Thu, 6 Sep 2018 04:27:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30880847D9 for ; Thu, 6 Sep 2018 04:27:00 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5F2F2213C4 for ; Thu, 6 Sep 2018 04:26:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w864QxAr078481 for ; Thu, 6 Sep 2018 04:26:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w864Qx8r078479 for bugs@FreeBSD.org; Thu, 6 Sep 2018 04:26:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231190] created a file with touch that can not be removed Date: Thu, 06 Sep 2018 04:26:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tcarpenter604@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status 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.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 04:27:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231190 Bug ID: 231190 Summary: created a file with touch that can not be removed Product: Base System Version: 11.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: tcarpenter604@gmail.com Hi Guys, Unfortunately this bug was caused by a type-o when using the "touch" comman= d.=20 This resulted in a file I can not modify, delete, move, copy or otherwise destroy. I can chmod/own it.. It seems like every command that accesses the file thinks its a -t argument. I cant even attach the file. Its a normal 0 byte file that was created with touch here are some examples: (the -type file is the first one.. I just included= it for context as shows up before .hidden files yet is fully visible) -rw-r--r-- 1 todd todd 0 Aug 21 00:46 -type drwxr-xr-x 3 todd todd 17 Sep 5 21:01 . drwxr-xr-x 3 root wheel 3 Aug 19 16:18 .. -rw-r--r-- 1 todd todd 1055 Aug 19 16:18 .cshrc -rw-r--r-- 1 todd todd 392 Aug 19 16:18 .login -rw-r--r-- 1 todd todd 163 Aug 19 16:18 .login_conf -rw------- 1 todd todd 379 Aug 19 16:18 .mail_aliases -rw-r--r-- 1 todd todd 336 Aug 19 16:18 .mailrc -rw-r--r-- 1 todd todd 952 Aug 19 16:18 .profile -rw------- 1 todd todd 281 Aug 19 16:18 .rhosts -rw-r--r-- 1 todd todd 851 Aug 19 16:18 .shrc drwx------ 2 todd todd 3 Aug 28 03:49 .ssh it shows up with a normal ls root@abyss:/home/todd # ls -type .login_conf .profile .ssh test.sh .cshrc .mail_aliases .rhosts install63.iso type .login .mailrc .shrc zfs_health.sh vi -type (errors) ~ ~ ~ ~ ~ +=3D+=3D+=3D+=3D+=3D+=3D+=3D+ ype: tag not found; Error: tags: No such file or directory. /tmp/vi.cYpFkc2AwI: new file: line 1 Press any key to continue: if I cat it i get a switch error. root@abyss:/home/todd # cat: illegal option -- y cat:: Too many arguments. root@abyss:/home/todd # usage: cat [-belnstuv] [file ...] usage:: Too many arguments. chown: no problem=20 root@abyss:/home/todd # chown todd:todd -type root@abyss:/home/todd # root@abyss:/home/todd # chown root:wheel -type root@abyss:/home/todd # ls -la total 331069 -rw-r--r-- 1 root wheel 0 Aug 21 00:46 -type rm .. or any other command like cp mv etc root@abyss:/home/todd # rm -type rm: illegal option -- t usage: rm [-f | -i] [-dIPRrvWx] file ... unlink file lol for the life of me I can't get rid of this file. I cant even attach it= or copy it .. etc.. but its just a touched 0 byte file.. thanks --=20 You are receiving this mail because: You are the assignee for the bug.=