Permissions

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy C. Reed
Dátum:  
Tárgy: 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/