IcingaForWindows.ps1 - Problems with $env:temp
@LordHepipud ci sta già lavorando.
Dal 22/4/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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?
- Lingua principale
- PowerShell
- Stelle
- 87
- Fork
- 34
- Merge medio
- 4g 11h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Icinga/icinga-powershell-framework
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Investigation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
Icinga/icinga-powershell-framework#857 · 2 commenti ·