Unix Shell script to monitor a folder for files with user details -


i have below requirement want monitor folder file activity , user doing that.

i know call inotify tools work on unix versions hp, solaris etc?

and how track name of user/id doing file add/delete/modify?

i know call inotify tools work on unix versions hp, solaris etc?

inotify linux-only solution. there approximately similar solutions available other operating systems (e.g., solaris has file event notifications, don't know there available wraps them in single api.

and how track name of user/id doing file add/delete/modify?

you can't, @ least not in cross-platform manner. under linux can accomplish task using audit subsystem, again linux-only solution.


Comments