Ask Your Question

Generate logs on failed folder access

asked 2013-04-20 15:26:55 -0500

I have set a deny permission on a group for a folder in Fedora 17. I want to generate logs when a user from this group is tring to access this denied folder.

Is it possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-20 20:09:27 -0500

wquine gravatar image

You can use the audit system that's built in to Fedora to watch for reads on the directory. Check out the man page for auditctl, in particular, the -w flag.

edit flag offensive delete link more

Question Tools


Asked: 2013-04-20 15:26:55 -0500

Seen: 48 times

Last updated: Apr 20 '13