January 31st, 2001, 09:34 PM
Does anyone know of a program that can sort of take a "snapshot" of the permissions in a directory and then apply those permission to the same files on my new server?
As I'm sure you guys do from time to time, I often have to transfer web sites from one server to server. Each time I transfer a site I have to chmod the files on the new server to match the ones on the old server.
Thanks for your help,
February 22nd, 2001, 04:28 PM
I don't know under what application you are transfering files, but you could use the "cp -p <files>" or "cp -rp <dir>" if you are doing directories and context. This will preserve not only files, but also preserves the owner and group id, permissions modes. Later,Rob