in reply to Re: File::Find on huge, dynamic filesystems?
in thread File::Find on huge, dynamic filesystems?
Changing the permissions would only work if you have your own user for the script -- say, you chown the file to yourself, chmod it to 600 and compress it, then change everything back. Why not just rename it? That would be atomic, plus if the renaming fails because the file or directory doesn't exist anymore, you can skip the compression step.
|
|---|