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

How to set umask #1217

Closed
ding-ma opened this issue Jan 18, 2023 · 5 comments
Closed

How to set umask #1217

ding-ma opened this issue Jan 18, 2023 · 5 comments

Comments

@ding-ma
Copy link

ding-ma commented Jan 18, 2023

Since the :latest tag do not have a shell, how can i set umask?

@loosebazooka
Copy link
Member

Well there is no umask, but there's also no cmdline utilities. What are you using to generate files?

@ding-ma
Copy link
Author

ding-ma commented Jan 19, 2023

For processes as EKS has a low soft limit but a high hard limit. I would like to be able to increase the soft limit.

@dlorenc
Copy link
Contributor

dlorenc commented Jan 22, 2023

For processes as EKS has a low soft limit but a high hard limit. I would like to be able to increase the soft limit.

Do you mean ulimit, not umask?

@ding-ma
Copy link
Author

ding-ma commented Jan 24, 2023

yes sorry

@ding-ma
Copy link
Author

ding-ma commented Jul 13, 2023

For those wondering, you can set the umask with a shell wrapper in golang. Before launching the user's program simply call syscall.Umask()

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

No branches or pull requests

3 participants