X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB1253858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693174460; bh=dfFM8lhP4jNKue8XMR3o8bX/vr7bwa83b8BIKZrLgLY=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=aNwDfB7wu2Go+3iZxdJ+RxtChHS/3taDkzpc+Pz00pU5sf8z0s75LX4EMdVYu5RvB i95h4SQNIRSqlgEFd/AFohhV9O+EP+DOhlJ3TLQtZbgZYvwqCJL0my0sB0nyAl5JRD gF8YC/4Im9oSdl3zkVgLQVm4NFSlFj4eNf3FeMT8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B8193858D28 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693174442; x=1693779242; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9/a+HmkVVWhZyIjoJZxjbgabPwCdHmesCqPa3nmPwZ4=; b=jeNhkeBDSg+5XsKzOb4IiQNKRuteTo3oMaG/SB5Zg6TGWTAHjuJP3s0SUUEXxi2ST6 We1h63z8BXiQ7E3ppV1HFsl/OJKd/KTgXTVPElP9+OvIL+8eIVnD1GixsU9OFLPIoGtt +Dm6UxO2hR5wRIsZIxSUXGDH+Xsr1xrVnM0o9cQfBXUAXuy0mok1Oh7h6ECq9J/8hIO1 naUMM8b0TwnlOKLeRbgREO8un5GGKEgXVIm05xcUkDqrDBsS16x/miv2BrEDq6EiK/7m D0hsPkIaGDlZGenOHDnOJ4CHTMBvbGjknCFodin/8ycNdPsAeDYKs8hMUGVZ2neQAJW1 72EA== X-Gm-Message-State: AOJu0Yz0ZeXauBEyCc/9rSs6fG0U04F0aq9lZlW4QvLjVJ+n6twtJnwZ 8tC9hxGynT/ZJFE1Uz7fkzyKuz/F+u2u+AG3n5wy0PZaGXeCW70B+s4u X-Google-Smtp-Source: AGHT+IEszFOVcdsyEXRX3eKMWVJIB4scdHqifOHZM6pZ1As7DLAZkdLXzSjO959Jx0TweLAXggLC1n+Bb5ccPeQh68s= X-Received: by 2002:a0d:f9c7:0:b0:573:7f55:a40e with SMTP id j190-20020a0df9c7000000b005737f55a40emr24720149ywf.49.1693174442201; Sun, 27 Aug 2023 15:14:02 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 27 Aug 2023 18:13:49 -0400 Message-ID: Subject: process substitution to create a virtual file doesn't work in chroot environment To: cygwin AT cygwin DOT com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cary Lewis via Cygwin Reply-To: Cary Lewis Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" In a cygwin process that is started either from mintty or bash directly the following: $ user=234 $ ./cat <(echo $user) 234 works as expected. But after a chroot: $ chroot . ./bash user=234 $ ./cat <(echo $user) ./cat: /dev/fd/63: No such file or directory In the directory I am chrooting in, I created a tmp folder, as well as proc, proc/self, and proc/self/fd, and a dev directory. Can someone explain why process substitution to create a virtual file doesn't work in a chroot environment? Thank you. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple