For a while now I have noticed that whenever I try to view a 7z file with ark it does not show anything. When I try to archive a file with 7z, there is no output. Apps that relies on downloading a 7z file for extraction fails because 7zip is not working. The console isn’t outputting any error apart from OS Error 13.
When I switched to p7zip-full from the windows:mingw repo, things started working normally again.
I just wanted to post this in case someone is having the same issue as me.
I also could not reproduce this on my 2nd machine. 7zip (7zz) works fine on it.
I don’t know when the issue itself started as I have never touched a 7z file in a long time until yesterday. I thought the 7z file itself was corrupted but that was not the case because p7zip works fine.
I downloaded 7zip from the official sourceforge and it works. The system 7zip is not working though. Always error 13
7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
64-bit locale=en_US.UTF-8 Threads:4 OPEN_MAX:1024, ASM
Scanning the drive for archives:
1 file, 1365807 bytes (1334 KiB)
Testing archive: 7z2301-src.7z
ERROR: 7z2301-src.7z
Cannot open the file as archive
errno=13 : Permission denied
Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0
AppArmor cannot be the cause of the issue. AppArmor profile may. But without any information what profile you mean and where it comes from this topic is not really helpful to others.