cancel
Showing results for 
Search instead for 
Did you mean: 

file permissions changing during restore

Hi After restore file permisson are getting changed. 

Below are the logs

# bash
bash-3.2# cd /usr/openv/netbackup/logs/user_ops/root/logs
bash-3.2# pwd
/usr/openv/netbackup/logs/user_ops/root/logs
bash-3.2# find . | xargs grep pm_storage
./jbp-20077447860466893985000000192-jjaOnN.log:15:31:53 (353.001) /usr/openv/netbackup/tir_info/Backup/nas/pm_storage/
./jbp-20077447860466893985000000192-jjaOnN.log:15:31:53 (353.001) Changed /usr/openv/netbackup/tir_info/Backup/nas/pm_storage/ to /tmp/root_disk/usr/openv/netbackup/tir_info/Backup/nas/pm_storage/
./jbp-20077447860466893985000000192-jjaOnN.log:15:31:53 (353.001) /usr/openv/netbackup/tir_info/Backup/nas/pm_storage/NetBackup_file_info.OSS_i386_DATA_MS_atrcxb1937_1938_oss
./jbp-20077447860466893985000000192-jjaOnN.log:15:31:53 (353.001) Changed /usr/openv/netbackup/tir_info/Backup/nas/pm_storage/NetBackup_file_info.OSS_i386_DATA_MS_atrcxb1937_1938_oss to /tmp/root_disk/usr/openv/netbackup/tir_info/Backup/nas/pm_storage/NetBackup_file_info.OSS_i386_DATA_MS_atrcxb1937_1938_oss
./jbp-20077447931239227001000000369-6laOnN.log:11:09:36 (357.001) /Backup/ossdg/ericsson/ccpdm/pm_storage/
./jbp-20077447931239227001000000369-6laOnN.log:11:09:36 (357.001) Changed /Backup/ossdg/ericsson/ccpdm/pm_storage/ to /Restore/ossdg/ericsson/ccpdm/pm_storage/
./jbp-20077447934133575213000000421-UmaOnN.log:12:04:55 (358.009) /Backup/nas/pm_storage/
./jbp-20077447934133575213000000421-UmaOnN.log:12:04:55 (358.009) Changed /Backup/nas/pm_storage/ to /Restore/nas/pm_storage/
./jbp-20077447934133575213000000421-UmaOnN.log:12:04:55 (358.009) Directory /Restore/nas/pm_storage already exists.
./jbp-20077447934133575213000000421-UmaOnN.log:12:04:55 (358.009) Added write permission to directory /Restore/nas/pm_storage
./jbp-20077447934133575213000000421-UmaOnN.log:12:04:55 (358.009) chmod 555 /Restore/nas/pm_storage to reset permissions.
bash-3.2#
 

Please let me know what is causing this.

Thanks in advance !!

3 Replies

Re: file permissions changing during restore

I don't see a problem here.

Original permissions (as at time of backup) are applied at the end of the restore.

Seems perfectly normal to me.

Re: file permissions changing during restore

It is being mentioned that the original permissions were 755 ,not 555

Re: file permissions changing during restore

What is umask on the destination server?