[EdLUG] Open source Security application - Lynis

Craig Skinner Skinner at Britvault.Co.UK
Thu Jun 4 11:32:22 UTC 2020


On 03/06/2020 22:39, Roy Bamford wrote:
> Can't open /usr/share/lynis/include/consts  tells that the file exists.
> I suspect you have everything owned by root too.

Probably manually installed with the wrong umask.

Set the umask to 022 before package installs & revert afterwards.


 > As a user I get when I try to ls that file
 > $ ls -l  /usr/share/lynis/include/consts
 > ls: cannot access '/usr/share/lynis/include/consts': Permission denied

See your install permission error with these commands:
$ ls -ld  /usr/share/lynis
$ ls -lR  /usr/share/lynis/


Compare permissions & ownership to other packages in /usr/share/

Cheers,
Craig.



More information about the EdLUG mailing list