Do you anly want to change the directory or all the files in it to ?
To change all the files to:
Code:
chown -R root:root archive
chmod -R 777 archive
Code:
eventually revert back to their original owner and permissions.
I don't understand this.
Do the changes take effect, and vanish after a while, or don't the changes take effect?
What is the filesystem of archives ?