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.4.1 sourceware.org BAD333858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca X-Authority-Analysis: v=2.4 cv=F+dEy4tN c=1 sm=1 tr=0 ts=61d09737 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=5KLPUuaC_9wA:10 a=vzi0WFWl48eK0CLV1VYA:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Sat, 1 Jan 2022 11:02:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: =?UTF-8?Q?Re=3a_dos2unix=3a_Failed_to_change_the_permissions_of_tem?= =?UTF-8?Q?porary_output_file_=e2=80=a6=3a_Permission_denied?= Content-Language: en-CA To: cygwin AT cygwin DOT com References: <31808206 DOT 20211229183014 AT yandex DOT ru> From: Brian Inglis Organization: Systematic Software In-Reply-To: <31808206.20211229183014@yandex.ru> X-CMAE-Envelope: MS4xfDw+mZ5xfQt+L5BUOTt2CqoMPqA65Ap1aBZDL++4roVoZYRrDScsk/Yd1gjhRu7yoaZdqNEmtWbYqw7W2R+LxGFpuoKZSF9r3SFfbpOdKXuP07FxsZ1T Xtlh8sM1WnpZZIoRPP45gUvT2X5qYsINQLhbUVEgxSxwx+3CV24j2p0h45QA3QXN7Zs+K24CTs7jSbJ2C4Hh9EizrUC15VYVJtc= X-Spam-Status: No, score=-1161.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 201I2oLL016323 On 2021-12-29 08:30, Andrey Repin wrote: > Greetings, All! > > I've got a problem with recent Cygwin and some old scripts of mine. > Particularly, the script at one point trying to normalize EOL's in a file so > that following operations run smooth. > > But the step fails with message about permission changes. > The problem is, > 1. the file is located on a network share and > 2. it is a noacl share. > > The scripts were running fine several months ago and nothing has сhanged on > host and remore except Cygwin itself. > > $ getfacl Localization.lua > getfacl: Localization.lua: Not supported > > $ icacls Localization.lua > Localization.lua No mapping between account names and security IDs was done. > (I)(F) > No mapping between account names and security IDs was done. > (I)(RX) > All:(I)(RX) > > Successfully processed 1 files; Failed processing 0 files > > Cygwin Package Information > Package Version Status > cygwin 3.3.3-1 OK > dos2unix 7.4.2-1 OK > > Anything else I can do to provide more information? Hi Andrey, Happy New (Grigorian) Year! Maybe show us a standalone script command line execution, script execution trace (like -xv), failing command line expansion, failure messages, Cygwin permissions of relevant components, and Cygwin installation status of all the components (or cygcheck -hrsv log). I don't know what Localization.lua is and showing Windows perms of it has to do with anything you described, but it looks like it may no longer have Cygwin perms, so maybe fill in some blanks here also. -- 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