Notification of someone reading a file. - Unix

This is a discussion on Notification of someone reading a file. - Unix ; Is it possible to get some sort of notification when a file is read by any user?...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Notification of someone reading a file.

  1. Notification of someone reading a file.

    Is it possible to get some sort of notification when a file is read by
    any user?


  2. Re: Notification of someone reading a file.

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    RiCaRdO wrote:
    > Is it possible to get some sort of notification when a file is read by
    > any user?


    In a generic Unix environment? No.

    Some specific Unix and Unixish environments support filesystem notifications,
    though, but it depends on the OS.


    - --
    Lew Pitcher

    Master Codewright & JOAT-in-training | GPG public key available on request
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.7 (GNU/Linux)

    iD8DBQFDd/R9agVFX4UWr64RAsCDAJ486t+zkmPpG/bVK2nSvkcTfXAELwCgnQvz
    aApNKkVl9rVqv7Ify1+3IT0=
    =7+0s
    -----END PGP SIGNATURE-----

  3. Re: Notification of someone reading a file.

    Latest NetBSD...?


  4. Re: Notification of someone reading a file.

    RiCaRdO wrote:
    > Latest NetBSD...?


    You might be able to force something using the sa(8) tool, though it's more
    tuned to 'processes' than 'files'.

    Since you have the source, you might be able to modify the accounting magic to
    track files for you specifically. It will be non-trivial though.

    What exactly are you trying to achieve by monitoring file-reads?

    - Philip

    --
    Philip Paeps Please don't email any replies
    philip@paeps.cx I follow the newsgroup.

    BOFH Excuse #372:
    Forced to support NT servers; sysadmins quit.

+ Reply to Thread