From nobody Thu Mar 23 16:30:01 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 4Pj9mT69wXz41XSW for ; Thu, 23 Mar 2023 16:30:01 +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 4Pj9mT4Nggz3GGv for ; Thu, 23 Mar 2023 16:30:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679589001; 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=fLLXsD1pwOl6/+6hvHXIhj6iNKIrfZXBibFrR5H/zNY=; b=VstEEc3y+2Grj/iyo3JhX67Y3nMBDAvamyIMHYg0wHj49sM4p5zK9VZllL+p6vnKJQSs7I qxWlwPHWdoRjRz9VvmUMNY/J4gN0mF5e3m4GsegrMuUow5TJdMFUajplz4AmGIrVdqQ/0k 6r62kKC0ceHGJ7C4qc8ImTxaxCoTTvzqnEawVdqQ81ImcXs6XNrytdkJ9N8tJtoeZ9asaf yy/ZnUgBa+rATXHh2NYEBy1AMaX8w1cSIX34j8kn4c7EtuAwNnzfWDYrf7e+nhUMDW29il axQ9gFbShmXKJJv5AfHWv7FkAQH8POcWbWWimVIAYGkgRao8Yfk0JtNWVaIgdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679589001; a=rsa-sha256; cv=none; b=bpDyRXcthjQUYeNaXqNTIA6gAMD2acqOTInmsMoFmbUkuxhDcQqmEGwITZgd2C/B/GK+wb 0tKmMa4IG/Mymxr4GYJBpiQ7owEKFqcf29wkViXTFJhQCFP17uy66EqOTaJPJOXuSYvLAY s7OwDwyAFlRR0XG/QrnkFxx6rUI+z0reiK0/z4xmQ1LaS0wbLPkxVRkPWJLWIt71plaLDF DDvwlM3/nKyitc4WSfFRh27lYGpt9hQzTXGWP7Y8Z4/BcLO8v4brRgNBnba00Dt7GtX1JW 6qDnR6ODcDROtuNw6P65/nr147ppvrPg9iEKPn8qCEVjnqBmwngEg0QPiIE13g== 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 4Pj9mT3St9zjsg for ; Thu, 23 Mar 2023 16:30:01 +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 32NGU1Fe042993 for ; Thu, 23 Mar 2023 16:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32NGU1UO042992 for bugs@FreeBSD.org; Thu, 23 Mar 2023 16:30:01 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 270419] Executable files act as if they are empty directories for some operations Date: Thu, 23 Mar 2023 16:30:01 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: okiddle@yahoo.co.uk 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270419 Bug ID: 270419 Summary: Executable files act as if they are empty directories for some operations Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: okiddle@yahoo.co.uk Appending a slash and either one or two dots to an executable file is not producing errors about the file not being a directory as it does on FreeBSD= 12. For example. ls -l /bin/df/.. will actually list the contents of /bin. I might have assumed this was some odd historical quirk but testing FreeBSD 12.3 and 12.4, they don't exhibit this behaviour. I see the issue on 13.1 b= ut have confirmed that it isn't specific to me or my system. I found this because a Makefile was checking for the existence of file/. to test whether something is a file or a directory. For what it's worth, this works correctly on Solaris and Linux. --=20 You are receiving this mail because: You are the assignee for the bug.=