|
From: | Antonio Diaz Diaz |
Subject: | Re: permission denied in cygwin |
Date: | Mon, 26 Feb 2024 17:09:44 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Christian Franke wrote:
Antonio Diaz Diaz wrote:Maybe ESTALE could be used for "media changed".Further experiments and comparison with Linux behavior suggests that ENODEV is a reasonable mapping. See related upstream commit: https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=4af5f9d
Yes, ENODEV seems a better mapping than EACCES for "media changed". (But a generalized ESTALE, not only for NFS, could be an even better mapping).
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |