./env.sh: line 36: .path: Permission denied

Unhandled exception. System.UnauthorizedAccessException: Access to the path ‘/opt/invictustech/bot-runner/_diag/Runner_20201226-230720-utc.log’ is denied.
—> System.IO.IOException: Permission denied
— End of inner exception stack trace —
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at GitHub.Runner.Common.HostTraceListener.CreatePageLogWriter()
at GitHub.Runner.Common.HostTraceListener…ctor(String logFileDirectory, String logFilePrefix, Int32 pageSizeLimit, Int32 retentionDays)
at GitHub.Runner.Common.HostContext…ctor(String hostType, String logFile)
at GitHub.Runner.Listener.Program.Main(String args)
./config.sh: line 81: 3485 Aborted ./bin/Runner.Listener configure “$@”