New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect file permissions in latest release https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0 #18495
Comments
Could you give a concrete example. This problem was before version 7.2.6 inclusive, but then it was fixed. in 7.3.0 I did not find any Get-Item /opt/microsoft/powershell/7/pwsh |
Foreach-Object {
$_.UnixMode
[convert]::ToString([int]$_.UnixFileMode,8)
stat -c "%a" $_
} |
|
Do you mean the tar archive of the release? Yes, |
See my script for the file I am talking about. These are the official binary release archives that are now broken |
Add to script |
You should look at the tarfile. That's not the only mistake regarding permissions. Everything is wrong |
You are missing the point. It's a packaging issue. It was correct by default in previous releases as it should be. Tarfiles contain the file permissionsm the user shouldn't have to do anything to run from the archive |
No, I did not. I do not refuse that this is the error of packagers.
This is linux, I'm already used to all sorts of surprises )) |
I will continue to wait till a maintainer comes around. there isn't any debate here, this is a mistake of the packaging. tarfiles contain the file permissions for a reason, so that you can extract and run without messing with permissions.
bad packages like this is what makes these surprises. your denial only further worsens that situation and makes the linux ecosystem less welcoming. @237dmitry I'm going to ask that you refrain from commenting here further. your comments do nothing for the issue. previous releases with correct permissions on all files
the incorrect packaging from 7.3.0
|
@SteveL-MSFT, any idea about this issue? |
This is affecting us too |
The Maintainers are looking at this today |
🎉This issue was addressed in #18643, which has now been successfully released as Handy links: |
Prerequisites
Steps to reproduce
tarfiles contain incorrect file permissions. the executables are makred as rw and NOT executable. not an issue on previous releases (eg: they are executable on 7.2.7). this also affects nearly all other files in the tarfile (most of them have different permissions from before)
Expected behavior
executables are marked as executable
-rwxr-xr-x
Actual behavior
executables are not marked as executable and many files have different permissions
-rw-r--r--
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: