Seems like a bug with mkfifo -m

Ken Brown
Thu May 28 17:39:20 GMT 2020

On 5/28/2020 1:31 PM, yoshi kakbudto wrote:
> you say  'ls' is a problem source. Then i have to be more specific with the
> problem to not miss any other possible problems around it.
> My use case is this: I have an ssh rsa keys dynamically loaded in
> environment variables.
> Those variables then expaned and piped to the named pipe and then the pipe
> instantly read by ssh-add.
> I know there could be other ways to ssh-add from environment, but its just
> our specifics.
> So the actual commands looks like this:
> $ mkfifo -m 0600 somefifo
> # The KEY contains ssh rsa private key data
> $ echo $KEY > somefifo | ssh-add somefifo
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> Permissions 0644 for 'somefifo' are too open.
> It is required that your private key files are NOT accessible by others.
> This private key will be ignored.

Sorry, I shouldn't have said the problem was with ls.  The problem was actually 
with stat, and it's fixed now.  You should be able to test it the next time 
Corinna creates a snapshot.


More information about the Cygwin mailing list