X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6F7C43858038 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca X-Authority-Analysis: v=2.4 cv=LvQsdlRc c=1 sm=1 tr=0 ts=5fecd332 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=T8EcaeZHwzePExOxve4A:9 a=QEXdDO2ut3YA:10 From: Brian Inglis Subject: Re: tee: 'standard output': Permission denied To: cygwin AT cygwin DOT com References: <955039478 DOT 230139 DOT 1609291744160 AT mail DOT yahoo DOT com> <1318302036 DOT 20201230052233 AT inbox DOT ru> Organization: Systematic Software Message-ID: <1f81eb96-7269-5bcb-8c81-60fcbc40a053@SystematicSw.ab.ca> Date: Wed, 30 Dec 2020 12:21:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <1318302036.20201230052233@inbox.ru> Content-Language: en-CA X-CMAE-Envelope: MS4xfKGCRF7X8J9JAileaUc88uQUaCgkXllFDjo6SEX0aRcWjlY372+rZ4lEu4rY1viccwivlXTatj/VWsCDLiB292HZwAOYy1wIgtmmnMeZ6zuN3shu/j4J p1JjkT5gyZZnE5UFqp4yfC0a/qoMUM1XYskosjhZJ3kdZmZ8Ngd8NKy9I9PHrn/c5T0eE/WTYDDsPLnL9d17UXuYKlXx/nuaVg8= X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 2020-12-29 19:22, Andry via Cygwin wrote: >> Cannot repro... Logfile is created correctly and commands and their >> output are logged there. The file encoding for the logfile is utf-8. > The issue found in the Windows 7 x64. > >> A couple of things though: 1. changing \ to / does not guarantee a >> valid Cygwin path. > Not sure what you talking about. Always worked. > >> 2. the cd does nothing because bash -l starts the shell in the home >> directory. > I've tested it and it does. > >> 3. Once you've started bash, you don't have to supply the full path so >> "/bin/bash.exe" and "/bin/tee.exe" are fine (assuming your path and mounts >> are set correctly) > You have to, because not logged shell does not have PATH registration to the > `/bin`. > >> Are any files on a remote share? > You cannot run cmd.exe on a remote share. > >> Are any of the paths relative?Do any of the paths have spaces in them? > Does it matter? Seems to have been reported a few times with Windows Russian and fix suggested was "chcp 1252" (which might not be too useful for many Russians), as there may be encoding conversion bugs with UTF-8. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- 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