Description of problem: ~~~ RokeJulianLockhart@Beedell:~$ sdkmanager bash: sdkmanager: command not found... Install package 'python3-sdkmanager' to provide command 'sdkmanager'? [N/y] y * Waiting in queue... * Loading list of packages.... The following packages have to be installed: python3-looseversion-1.3.0-11.fc43.noarch Version numbering for anarchists and software realists python3-sdkmanager-0.6.10-6.fc43.noarch Android SDK manager written in Python Proceed with changes? [N/y] y * Waiting in queue... * Waiting for authentication... * Waiting in queue... * Downloading packages... * Requesting data... * Testing changes... * Installing packages... Downloading https://raw.githubusercontent.com/f-droid/android-sdk-transparency-log/master/signed/checksums.json.asc into /home/RokeJulianLockhart/.cache/sdkmanager/checksums.json.asc Downloading https://raw.githubusercontent.com/f-droid/android-sdk-transparency-log/master/signed/checksums.json into /home/RokeJulianLockhart/.cache/sdkmanager/checksums.json Traceback (most recent call last): File "/usr/bin/sdkmanager", line 8, in <module> sys.exit(main()) ~~~~^^ File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 1236, in main method(args.packages) ~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 1033, in install android_home = get_android_home() File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 573, in get_android_home android_home.mkdir(exist_ok=True) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/pathlib/__init__.py", line 1011, in mkdir os.mkdir(self, mode) ~~~~~~~~^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/opt/android-sdk' ~~~ Version-Release number of selected component: python3-sdkmanager-0.6.10-6.fc43 Additional info: reporter: libreport-2.17.15 kernel: 6.17.11-300.fc43.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/sdkmanager cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-24320.scope/tab(24344).scope uid: 1000 reason: __init__.py:1011:mkdir:PermissionError: [Errno 13] Permission denied: '/opt/android-sdk' executable: /usr/bin/sdkmanager type: Python3 package: python3-sdkmanager-0.6.10-6.fc43 runlevel: /bin/sh: line 1: runlevel: command not found exception_type: PermissionError crash_function: mkdir interpreter: python3-3.14.2-1.fc43.x86_64 Truncated backtrace: __init__.py:1011:mkdir:PermissionError: [Errno 13] Permission denied: '/opt/android-sdk' Traceback (most recent call last): File "/usr/bin/sdkmanager", line 8, in <module> sys.exit(main()) ~~~~^^ File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 1236, in main method(args.packages) ~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 1033, in install android_home = get_android_home() File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 573, in get_android_home android_home.mkdir(exist_ok=True) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/pathlib/__init__.py", line 1011, in mkdir os.mkdir(self, mode) ~~~~~~~~^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/opt/android-sdk' Local variables in innermost frame: self: PosixPath('/opt/android-sdk') mode: 511 parents: False exist_ok: True
Created attachment 2118792 [details] File: os_info
Created attachment 2118793 [details] File: environ
Created attachment 2118794 [details] File: mountinfo
Created attachment 2118795 [details] File: open_fds
Created attachment 2118796 [details] File: namespaces
Created attachment 2118797 [details] File: backtrace
Created attachment 2118798 [details] File: cpuinfo
Per https://bugzilla.redhat.com/show_bug.cgi?id=2422339#c0, this can be bypassed with `run0`.
I invoked `sdkmanager` without `run0`. reporter: libreport-2.17.15 kernel: 6.17.12-300.fc43.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/sdkmanager cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-36732.scope/tab(36754).scope uid: 1000 reason: __init__.py:1011:mkdir:PermissionError: [Errno 13] Permission denied: '/opt/android-sdk' executable: /usr/bin/sdkmanager type: Python3 package: python3-sdkmanager-0.6.10-6.fc43 runlevel: /bin/sh: line 1: runlevel: command not found exception_type: PermissionError crash_function: mkdir interpreter: python3-3.14.2-1.fc43.x86_64 comment: I invoked `sdkmanager` without `run0`.