- 
    Bug 
- 
    Resolution: Unresolved
- 
    Major 
- 
    builds-1.5
- 
    None
- 
        False
- 
        
- 
        False
- 
        Bug Fix
- 
        
- 
        
Description of problem:
When uploading local source code using the "streaming" method (default), the build fails changing file ownership permissions for the uploaded source code.
Workaround: TBD
Prerequisites (if any, like setup, operators/versions):
shp CLI v0.16.0
Builds for OpenShift 1.6
OpenShift Pipelines 1.20
OpenShift 4.19
Steps to Reproduce
- Create a build that uses the Git source ("test-build"). Use any build strategy.
- Clone the same source code locally to your machine. Make a local change.
- Upload the local source code using the shp command line:
shp build upload test-build .
Actual results:
Build fails changing the UID/GID of the local source code to match that of the running container:
tar: frontend/webpack.prod.js: Cannot change ownership to uid 103223, gid 103223: Operation not permitted tar: shipwright/quizap/backend-build.yaml: Cannot change ownership to uid 103223, gid 103223: Operation not permitted tar: shipwright/quizap/frontend-build.yaml: Cannot change ownership to uid 103223, gid 103223: Operation not permitted
Expected results:
Build succeeds uploading local source code.
Reproducibility (Always/Intermittent/Only Once): Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
- is documented by
- 
                    RHDEVDOCS-6909 Release note : Build with Local Source Fails Changing File Ownership -         
- Pull Request Sent
 
-         
- links to