-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
broken root detection #1383
Comments
@XenGi ¿Can you post here the permissions and ownership for your /usr/share/lynis/include/consts file ? |
That is strange the permission differ a lot. I would expect them to be quite uniform and readable by everyone.
Seems like the package is build correctly with read permissions for all: The package just copies the |
@XenGi I added a pull request that fixes the problem with the message: About the file permissions in the Archlinux package, it seems to be a problem with file permissions in the tarball that is downloaded from the CISOfy site: |
Are the file permissions still wrong in the tarball with recent changes? |
@mboelen No. Permissions now look fine in the last versions, 3.1.0 and 3.1.1. |
Closing this issue then. No other change at the moment, besides that we did before (updating it in our build process) 👍 |
Describe the bug
When I run lynis without root privileges, instead of giving an informative error message it just gives out this a permission denied error.
Version
Expected behavior
A clear and concise error message, telling the user to run the program as root.
Output
The text was updated successfully, but these errors were encountered: