ZIP Problem
Hi Folks,
i have a script to zip certain files. redirecting the successfully zipped files and unsuccessful files to seperate files.
i found unzipped file name in zipped file list.
i dont know why it happened.
and, some of the files are not zipped.
i checked the previllege also, even without execution permission it is possible to zip, but some files are missing to process. i need your suggestions here. and need some more clarifications...
here are my concerns?
1> if the file was created by some other user, i am trying to zip that when the user is currently working(opened) in that file. will zip work in this case?
2> is there any difference in gzip and compress command?
3> is possible to protect the file from any other operations by any other users. if this possible what is the way to zip that file.
its very severe issue could you please guide me in a way to catch the exact point.
Thanks.
|