tee: 'standard output': Permission denied

Andry andry@inbox.ru
Wed Dec 30 02:22:33 GMT 2020


Hello Kometes,

  >Cannot repro...  Logfile is created correctly and commands and their output are logged there.  The file encoding for the logfile is utf-8.
  The issue found in the Windows 7 x64.

  >A couple of things though:    1.  changing \ to / does not guarantee a valid Cygwin path.
  Not sure what you talking about. Always worked.

  >2.  the cd does nothing because bash -l starts the shell in the home directory.
  I've tested it and it does.

  >3.  Once you've started bash, you don't have to supply the full path so "/bin/bash.exe" and "/bin/tee.exe" are fine (assuming your path and mounts are set correctly)
  You have to, because not logged shell does not have PATH registration to the `/bin`.

  >Are any files on a remote share?
  You cannot run cmd.exe on a remote share.

  >Are any of the paths relative?Do any of the paths have spaces in them?
  Does it matter?



More information about the Cygwin mailing list