Permissions

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Permissions
On 15 Mar 2003, Bryce C wrote:

> Does anyone know of a way to take a "snapshot" of the permissions of
> several hundred files that can be re-applied (easily) later?


mtree works perfect for that.

It can make a specification (including permissions) and then later can be
used to "Modify the owner, group, permissions, and flags of existing
files, the device type of devices, and symbolic link targets, to match the
specification."

mtree is also a useful tripwire replacement.

Jeremy C. Reed
http://bsd.reedmedia.net/