From nobody Sat Sep 16 15:02:49 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RnvS92cqbz4tLj6 for ; Sat, 16 Sep 2023 15:02:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RnvS90N4Rz4V7c for ; Sat, 16 Sep 2023 15:02:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694876569; a=rsa-sha256; cv=none; b=ynZSJvmdkhtkj47I1IcRb1W/oTTycsDU6eu89RjwTD17a13NzznaRcN/3mxY0lneW+vSC6 fXG0AYrnJZdTozek7tI3oWYK9fXRZ7ltzMAnQ3UyuSSO32pTSd2N75w4LZKNf9q1ddlGyb Nynfv2JZHOQUzqVJkwSYYx885/7/T1TMmV9PIuTHjCNZq6TZbCvmfX4tBQ3gCxZmg4E34i yOYeA4f6JyXJ+6XuHdH5DyKBwgZvkawa4ClQpmo7eaAp0mBDJi5yQmCPTcQyj3+LTh4JYu lI091/Pctc1jcyenSJSW1eS+gbQZqL3zlC613auG8MOyAVdbP3MTipw0P8iptQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694876569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zCpzKDBJOgAudJdDuGmYrL3yckSYLCVk/4+3v4hCfxM=; b=C/KqvoxNhnNfzF0kA62KPtnfWsODDlYEgLPnTe46dEdOFGpMEpa+i+CZtzoOTTGJ1J4cvH 3ri2OqsmTJwDQbdRmqEmOwx/9iTvld3mUUFviWB6rQGAVSsWwVRebrQb9ka8R4XuKbxqnc qBLXTMJ0cJOZsquK4jamyPNnd0zz/of5JlC4ugumhPzdkQ/G3zIfoO34z6SxEp49JpI+lo B1b91qVb0LB2jNVMrIe2byK9DIp2nOa8yp6yGAsMwsaHgnyRJXOb2Qq6lqHlb0GxlahIsM xVJ8viTdgxIaxxye3AuHZ9OFTMC7eJPJRzdlmpz71PjQGbxCfGDf4Lr5rLPejw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RnvS86b6gz19mK for ; Sat, 16 Sep 2023 15:02:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38GF2m3Q035246 for ; Sat, 16 Sep 2023 15:02:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38GF2mrS035245 for bugs@FreeBSD.org; Sat, 16 Sep 2023 15:02:48 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 273858] zfs: a directory can't be removed and nothing can be created in it, but it can be moved Date: Sat, 16 Sep 2023 15:02:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273858 Bug ID: 273858 Summary: zfs: a directory can't be removed and nothing can be created in it, but it can be moved Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org I'm on 13.2-RELEASE. By accident, I had removed /usr/local. I restored it f= rom a backup. However, I discovered that /usr/local/etc/openvpn didn't get restored. I'm not sure whether it was at first even removed. Now, manually restoring it from .zfs/snapshots doesn't work. cp, rsync etc. don't return error, but the files are not created. Even creating empty file= s in openvpn directory doesn't cause error, but the files are not created (with touch). Removing the directory also doesn't return error, but the directory is not removed. However, it can be moved (also to another directory, but only in the same filesystem) and renamed. I renamed it to openvpn2. root@serwer:$/usr/local/etc$ find openvpn2 openvpn2 find: openvpn2: No such file or directory root@serwer:$/usr/local/etc$ rmdir openvpn2 rmdir: openvpn2: Directory not empty root@serwer:$/usr/local/etc$ rm -rf openvpn2 root@serwer:$/usr/local/etc$ ls openvpn2 root@serwer:$/usr/local/etc$ touch openvpn2/test root@serwer:$/usr/local/etc$ ls openvpn2 root@serwer:$/usr/local/etc$ mv openvpn2 /tmp mv: openvpn2: No such file or directory mv: /bin/cp openvpn2 /tmp/openvpn2: terminated with 1 (non-zero) status --=20 You are receiving this mail because: You are the assignee for the bug.=