Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-6903

ROCm base image: wrong permissions for `/opt/app-root/lib/python3.12/site-packages/rocm-amdsmi.pth`

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Accelerator Enablement
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • AIPCC Accelerators 19

      Description of problem:

      What's the idea behind permissions in /opt/app-root? For Workbench images we want to have users to be able to install additional packages in a running workbench, so we're chmodding the directory

      + chmod -R g+w /opt/app-root/lib/python3.12/site-packages
      chmod: changing permissions of '/opt/app-root/lib/python3.12/site-packages/rocm-amdsmi.pth': Operation not permitted
      

      Version numbers (base image, wheels, builder, etc):

      quay.io/aipcc/base-images/rocm:3.0-1755080929
      

      Steps to Reproduce:

          1. USER 1001
          2. chmod -R g+w /opt/app-root/lib/python3.12/site-packages
          3.
          

      Actual results:

      chmod: changing permissions of '/opt/app-root/lib/python3.12/site-packages/rocm-amdsmi.pth': Operation not permitted
      

      Expected results:

          

      Additional info:

      https://redhat-internal.slack.com/archives/C08GRQ4TRTJ/p1762775723101349

              rh-ee-alustosa Andre Lustosa Cabral de Paula Motta
              jdanek@redhat.com Jiri Daněk
              Frank's Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: