From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id BAD333858D28 for ; Sat, 1 Jan 2022 18:02:32 +0000 (GMT) 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 Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id 3b8snpTRmlW5q3ii7nNwy2; Sat, 01 Jan 2022 18:02:31 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id 3ii6nvNvJlt4Q3ii7nj8ls; Sat, 01 Jan 2022 18:02:31 +0000 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 Reply-To: cygwin@cygwin.com 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@cygwin.com References: <31808206.20211229183014@yandex.ru> From: Brian Inglis Organization: Systematic Software In-Reply-To: <31808206.20211229183014@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.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: , X-List-Received-Date: Sat, 01 Jan 2022 18:02:34 -0000 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.]