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

Sort using the default temp location #307

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Sort using the default temp location #307

merged 1 commit into from
Jun 6, 2024

Conversation

aelkiss
Copy link
Member

@aelkiss aelkiss commented Jun 6, 2024

Not sure what motivated this originally (maybe running out of space in the default temp location) but sorting in the application working directory won't work now because of the way permissions are set in the application -- in general best practice in containers for security reasons is to make the application working directory read-only by the running application.

Not sure what motivated this (maybe running out of space in the default
temp location) but sorting in the default application working directory
won't work now because of the way permissions are set in the
application.
@aelkiss aelkiss requested a review from mwarin June 6, 2024 17:42
@coveralls
Copy link

Coverage Status

coverage: 95.067% (+0.02%) from 95.045%
when pulling 701c1e7 on sort-in-default-tmp
into f3ba543 on main.

Copy link
Contributor

@mwarin mwarin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, -T ./ "sort where you stand" was added back when I was guaranteed to run out /tmp/ space.

I'm not sure you want/need my explicit approval here, and I won't give it either, since this is a change that will work or not depending on the larger context, which you understand better than I do. Granted, if you do want/need my approval, you have it.

@aelkiss
Copy link
Member Author

aelkiss commented Jun 6, 2024

Whether or not we run out of space in /tmp in Kubernetes is probably the same as whether we would in the application working directory. If this fails in the future I have some other things we could try.

@aelkiss aelkiss merged commit 34e044f into main Jun 6, 2024
1 check passed
@aelkiss aelkiss deleted the sort-in-default-tmp branch June 6, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants