Follow-up from #6679, where the difficulty of setting an effective umask value from PowerShell is discussed, with @BrucePay wondering whether a Set-Umask cmdlet should be provided on Unix-like platforms.
More generally, all Unix/POSIX system calls exposed via the Mono.Posix.NETStandard NuGet package should be examined to decide what functionality should be surfaced via cmdlets.
The implementing class is here.
Environment data
Written as of:
Follow-up from #6679, where the difficulty of setting an effective
umaskvalue from PowerShell is discussed, with @BrucePay wondering whether aSet-Umaskcmdlet should be provided on Unix-like platforms.More generally, all Unix/POSIX system calls exposed via the
Mono.Posix.NETStandardNuGet package should be examined to decide what functionality should be surfaced via cmdlets.The implementing class is here.
Environment data
Written as of:
PowerShell Core v6.0.2