Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239037

Re: how would you do this?

From songbird <songbird@anthive.com>
Newsgroups linux.debian.user
Subject Re: how would you do this?
Date 2021-08-19 14:40 +0200
Message-ID <CNPuW-16Z-15@gated-at.bofh.it> (permalink)
References <CNEzv-26Q-1@gated-at.bofh.it> <CNF2x-2vf-7@gated-at.bofh.it>
Organization the little wild kingdom

Show all headers | View raw


Roberto C  Sánchez wrote:
...
> It sounds like you want something like like incrond, which gives you
> user-space hooks into the inotify kernel subsystem.  I have used it, for
> instance, for protecting artifacts published to a develpment archive
> server.  I use incron to monitor the directories where artifacts can be
> uploaded, and as soon as an upload is completed, then incron invokes a
> call to 'chattr +i' to make the new file immutable and thus protect it
> from being overwritten by a subsequent upload or deletion.
>
> Because it can also simply log accesses, reads, etc., it will probably
> do exactly what you want.


  thanks!  very useful to know.  :)


  songbird

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how would you do this? songbird <songbird@anthive.com> - 2021-08-19 03:00 +0200
  Re: how would you do this? Cindy Sue Causey <butterflybytes@gmail.com> - 2021-08-19 03:30 +0200
    Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:40 +0200
  Re: how would you do this? Roberto C. Sánchez <roberto@debian.org> - 2021-08-19 03:30 +0200
    Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:40 +0200
  Re: how would you do this? Jeremy Ardley <jeremy@ardley.org> - 2021-08-19 03:40 +0200
    Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:50 +0200
  Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-19 04:40 +0200
    Re: Watching a directory, was Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:30 +0200
      Re: Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-20 05:50 +0200
        Re: Watching a directory, was Re: how would you do this? didar <nosferatu@purlo.in> - 2021-08-21 15:50 +0200
          Re: Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-22 06:40 +0200

csiph-web