-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dockerfile: Support --chmod
with non-octal notation, such as --chmod=g=u
#1951
Comments
As I currently need this feature I'd love to implement it, if someone can give me a little guidance on it? |
|
--chmod
with with non-octal notation, such as --chmod=g=u
--chmod
with with non-octal notation, such as --chmod=g=u
--chmod
with non-octal notation, such as --chmod=g=u
I'd love to see this implemented, as I need it too !
The capital X is the reason I would like symbolic permissions to be supported. Aslo the Any news on this ? |
#1492 added support for e.g.
--chmod=744
during aCOPY
command. Here is the original issue for supporting octal notation moby/moby#34819. However, in many situations this is insufficient.For example,
g=u
is a way to chmod so that the group gets the same permissions as the user like so:chmod -R g=u dir
. This would equal:This is for example important in OpenShift.
@tobia also added some very valid argumentation for this: moby/moby#34819 (comment):
It would be very nice if this support could be added!
The text was updated successfully, but these errors were encountered: