help with permissions on backups written to disk
Created: 03 Apr 2013 • Updated: 17 Jun 2013 | 15 comments
This issue has been solved. See solution.
I have my linux netbackup master/media server backing up to disk. The disk location is backupserver:/data/backup_images/
currently the backup images and info files get written as
-rw------- 1 root root 8192 Apr 3 10:04 host1.domain.com_1365008648_C1_HDR.1365008648.img
-rw------- 1 root root 892 Apr 3 10:04 host1.domain.com_1365008648_C1_HDR.1365008648.info
thus owner root has rw and group and everyone have no permissions.
I want to have the files written by netbackup as
so owner and group have rw permissions. I have tried umask in /etc/profile on the linux master/media server and that did nothing leading me to believe that umask is set somewhere within netbackup's run scripts.
Can someone point me to where in the netbackup run scripts to change umask or tell me another way?