Changed permissions on /etc in RL9.4 genericcloud image

Can I ask why the latest RL9.4 image changes /etc to have group writable permissions please? Not saying its not OK - it tripped up something (munge daemon) and I’m just wondering why this change would have been made?

# Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2
[rocky@sb-rl9-3 ~]$ ls -ld /etc/
drwxr-xr-x. 93 root root 8192 Jun  5 14:54 /etc/

# Rocky-9-GenericCloud-Base-9.4-20240523.0.x86_64.qcow2
[rocky@sb-rl9-4 ~]$ ls -ld /etc/
drwxrwxr-x. 88 root root 8192 Jun  5 14:54 /etc/

I encountered the same issue using the AWS Marketplace AMI for 9.4. The /etc permissions have changed, which prevented sendmail from operating properly. As far as I know, /etc should not be group writeable.

It is likely a result of how kiwi (our image builder) operates. This is not something we actually did on purpose. See here, as our latest images fix the permissions.

@neil will need to ensure the fixed images are uploaded to the relevant cloud accounts in AWS. Note that this will take some time.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.