IcingaForWindows.ps1 - Problems with $env:temp
@LordHepipud がすでに取り組んでいます。
2025年4月22日 から。
評価
この issue はまだ評価されていません。
説明
I'm trying to install the Icinga Framework for Windows using the script IcingaForWindows.ps1.
However it seems to use the variable $env:temp everywhere to write temporary files in to the user's temp directory.
This causes problems on our systems as the usernames seem to be garbled up by Powershell, e.g. the username t.bruns-t2 becomes C:\Users\T6CBA~1.BRU\AppData\Local\Temp and this causes problems like this one:
Remove-Item : An object at the specified path C:\Users\T6CBA~1.BRU does not exist.
This is probably because of https://github.com/PowerShell/PowerShell/issues/17359#issuecomment-2070911310
Is there a way to consistently use a well-known directory like C:\Windows\Temp?
- 主要言語
- PowerShell
- スター
- 86
- フォーク
- 34
- 平均マージ
- 1時間 31分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Icinga/icinga-powershell-framework のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
Icinga/icinga-powershell-framework#888 · コメント 1 件 ·
-
Windows Update Offload: "Fetch Windows Updates" task is killed after 72h and never restarts until reboot対応中かも @LordHepipud が今日担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Icinga/icinga-powershell-framework#883 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100