-
Notifications
You must be signed in to change notification settings - Fork 1.8k
util: set r/x permissions for bundle dirs #3129
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I thought we had a const defined for file permissions.
@hasbro17 we do. I actually switched the perms to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
this is failing still for me, I'm seeing the following permissions on the manifests directory being created which cause the permission error to surface: jeffmc@breve:~/projects/memcached-operator/deploy/olm-catalog/memcached-operator$ ls -l if I update the permissions of the manifest directory as follows then the test works as normal: jeffmc@breve: |
@estroz @jmccormick2001 seems to me the perm should be 0755 (drwxr-xr-x). Readable and executable by everyone but only writeable by the owner. The previous 0700 (drwx------) is too restrictive and 0777 is wide open. But based on @jmccormick2001 comment seems like even the 777 didn't take. |
@jmrodri I chose Edit: on second thought lets go with |
read by in-cluster tooling
perator/ bueno. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
Description of the change: permissions for generated bundle directories now have r/x permissions for all users (
0755
).Motivation for the change: automation tooling should be able to read bundle files.
/cc @camilamacedo86 @hasbro17 @jmrodri
/kind bug