Categories
Linux Mastering Development

Can not log permission denied errors using auditctl

I try to create an auditctl rule for the following situation: There is a file created by root, owned by root, and with chmod 700. So no other user except root can read or write to it. When I then try to do something using another user, I get an permission denied. But this doesn’t […]

Categories
Linux Mastering Development

Unexpected ability to write to file

I have a directory named dir1, owned by root, with permissions 777 set. I have a file named file1 inside of dir1, owned by root, with permissions 644 set. I’m logged in as a normal user named user1. Why is it that if I edit file1 inside vim, which states that it is a readonly […]