On May 28 13:39, Ken Brown via Cygwin wrote: > 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 > > > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > 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.
Done. Try the latest snapshot from https://cygwin.com/snapshots/ Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer -- 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