Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ownership to Inputs and Outputs #8814

Open
reskin89 opened this issue Sep 14, 2023 · 2 comments
Open

Add Ownership to Inputs and Outputs #8814

reskin89 opened this issue Sep 14, 2023 · 2 comments

Comments

@reskin89
Copy link

Summary

Some containers set a specific user for operations, this can cause an issue when attempting to use a container such as this, and then creating an output for it to put data in for a new task.

The issue here is that output directories are created with root:root ownership.

The suggestion here is to add owner and group optional attributes to an output directive such that:

outputs:
  - name: data
     owner: ubuntu
     group: wheel

This would allow a container that's bound to the ubuntu user to copy data into this output folder.

@drahnr
Copy link
Contributor

drahnr commented Apr 17, 2024

Initial implementation attempt that would address it, based on the specified container user and group ids - #8807

There is still a bit of work to be done, it's not entirely clear how to thread the information through to the right place.

@drahnr
Copy link
Contributor

drahnr commented Apr 17, 2024

Related: #403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants