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

Incorrect permissions of file /etc/grub.d/00_user #9

Open
Kerjox opened this issue Jan 29, 2025 · 0 comments
Open

Incorrect permissions of file /etc/grub.d/00_user #9

Kerjox opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Kerjox
Copy link

Kerjox commented Jan 29, 2025

Have you checked ReadtheDocs?: Yes

Describe the Issue
The permission of the file /etc/grub.d/00_user is incorrect, this causes the configuration of grub not to be updated with the content of this file when the command "update-grub" is issued

Expected Behavior

# ls -l /etc/grub.d/00_user
-rwxr-xr-x  1 root root   490 Jan 29 18:28 00_user

Actual Behavior

# ls -l /etc/grub.d/00_user
-rw-r-----  1 root root   490 Jan 29 18:28 00_user
or
-rw-r--r--  1 root root   490 Jan 29 18:28 00_user
# Depending on umask

Control(s) Affected

  • 1.4.1

Environment (please complete the following information):

  • branch being used: devel
  • Ansible Version: 2.17.7
  • Host Python Version: 3.12.3
  • Ansible Server Python Version: 3.10.12
  • Additional Details: N/A

Additional Notes
When exact values are required, it's better to use octal notation (0640) instead of symbolic (go-w).
Symbolic notation modifies existing permissions, while octal sets precise values.

Possible Solution
Change the file permission on task named 1.4.1 | PATCH | Ensure bootloader password is set to be '755' instead of 'go-w'

@Kerjox Kerjox added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant