Permissions

Página Principal
Anexos:
Mensagem como email
+ (text/plain)
Apagar esta mensagem
Responder a esta mensagem
Autor: Jeremy C. Reed
Data:  
Assunto: 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/