Jump to content

Recommended Posts

Posted
it seems to be working in the sense that im getting event ID 4696 and 4698 when I view the permissions of the folders etc, but there are no 590 or any specific events actually logging the changing of the permissions.
Posted

have you tried changing the perms from a different account, maybe its not triggering the change as you are the owner of the folder? Not sure, never really played with it indepth.

 

I'd just switch on all the auditing options on the folder and work backwards from their if that made it work.

  • Thanks 1
Posted (edited)

Just for completeness, this is really easy to do in Linux and has been part of the kernel for the last 6 yrs.

install inotify-tools then and watch for attribute changes:

 

#!/bin/sh
while inotifywait -e attrib /tmp/temp/file; do
mail -s "file perm changed" [email protected]
done

Edited by CyberNerd

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...