Seems awfully complicated. Why dont you just create a script that will extract the files from your archives with proper permissions instead, if you cannot find any program that does it for you. If you cannot figure out how to do it directly, then make it a two part operation, one that extracts the files to a temp dir, fixes their permissions, and then moves them over to the auto add dir.
Then just run your script instead of using whatever unarchiver program you are using currently.
|