Re: dos2unix: Failed to change the permissions of temporary output file …: Permission denied

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Sat Jan 1 18:02:30 GMT 2022


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.]


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /