[AuckLUG] Permissionss history

Martin Shergold martinjs at gmail.com
Thu Aug 9 08:21:21 NZST 2007


On 09/08/07, Justin Cook <justin at skull.co.nz> wrote:
>
> Having tripped myself up several times in the past few weeks with
> poorly-chosen permissions, I'd quite like some sort of permission
> logging. It'd be very useful to be able to look back several hours or
> weeks to find out what the permissions on a directory or file were, and
> when they changed.
>
> Does anything like this exist?

Hey Justin,

While I can't think of anything specific; ls -lR / --ignore=/proc
--ignore=/sys > permissions-$(date | tr ' ' _).log periodically will
at least give you a record of your permissions.

Cheers,
Martin.



More information about the AuckLUG mailing list