Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2422333#c0, when I invoked `sdkmanager "platform-tools" "cmdline-tools;latest"`. Version-Release number of selected component: python3-sdkmanager-0.6.10-6.fc43 Additional info: reporter: libreport-2.17.15 kernel: 6.17.12-300.fc43.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/sdkmanager platform-tools cmdline-tools;latest cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-170949.scope/tab(197222).scope uid: 1000 reason: <frozen os>:236:makedirs:PermissionError: [Errno 13] Permission denied: '/opt/android-sdk/platform-tools' 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: OSError crash_function: move interpreter: python3-3.14.2-1.fc43.x86_64 comment: Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2422333#c0, when I invoked `sdkmanager "platform-tools" "cmdline-tools;latest"`. Truncated backtrace: <frozen os>:236:makedirs:PermissionError: [Errno 13] Permission denied: '/opt/android-sdk/platform-tools' Traceback (most recent call last): File "/usr/lib64/python3.14/shutil.py", line 918, in move os.rename(src, real_dst) ~~~~~~~~~^^^^^^^^^^^^^^^ OSError: [Errno 18] Invalid cross-device link: '/tmp/.sdkmanager-49c9bw45/platform-tools' -> '/opt/android-sdk/platform-tools' During handling of the above exception, another exception occurred: 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 1071, in install _install_zipball_from_cache(zipball, install_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/sdkmanager.py", line 1117, in _install_zipball_from_cache shutil.move(str(extracted), str(install_dir)) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/shutil.py", line 934, in move copytree(src, real_dst, copy_function=copy_function, ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ symlinks=True) ^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/shutil.py", line 654, in copytree return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ignore=ignore, copy_function=copy_function, ignore_dangling_symlinks=ignore_dangling_symlinks, dirs_exist_ok=dirs_exist_ok) File "/usr/lib64/python3.14/shutil.py", line 552, in _copytree os.makedirs(dst, exist_ok=dirs_exist_ok) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen os>", line 236, in makedirs PermissionError: [Errno 13] Permission denied: '/opt/android-sdk/platform-tools' Local variables in innermost frame: name: '/opt/android-sdk/platform-tools' mode: 511 exist_ok: False head: '/opt/android-sdk' tail: 'platform-tools'
Created attachment 2120253 [details] File: os_info
Created attachment 2120254 [details] File: environ
Created attachment 2120255 [details] File: mountinfo
Created attachment 2120256 [details] File: open_fds
Created attachment 2120257 [details] File: namespaces
Created attachment 2120258 [details] File: backtrace
Created attachment 2120259 [details] File: cpuinfo