Results 1 to 3 of 3
we have set up cron jobs to back up other servers in our system to a new cloud server (the jobs are run as root). our testing has revealed that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-04-2013 #1
- Join Date
- Dec 2007
unzip ownership changes
we have set up cron jobs to back up other servers in our system to a new cloud server (the jobs are run as root). our testing has revealed that when we unzip the zip files from the other servers the ownerships and groups for the files etc when expanded have all been changed to root.
the command for unzipping the files is :
unzip -Xo /colsys2/ccs4rempart.zip "colsys1/*">>$PRLOG
with /colsys2/ccs4rempart.zip being the zip file
colsys1/* being the specific type of file we want expanding
similar unzip commands are used elsewhere on our live servers and as the "X" implies the ownership /protection info is restored in these cases
we have tried to find a reason why this would occur under RHEL6 as it does not appear to happen under previous releases
would any of our experts know of a reason for this happening?
Last edited by andycurran; 04-04-2013 at 03:28 PM.
- 04-04-2013 #2
- Join Date
- Sep 2008
- 04-07-2013 #3