Backup fails on "permission denied"

From: Liang, Warren <Warren.Liang_at_sms-ito.com>
Date: Mon, 21 Jul 2003 11:44:39 -0700

Good Afternoon:

I am using "operator" account to do backup. The account configuration is:
Primary group: oper
Secondary group: backup, dba, operator, and system

Backup script :
-rwsr-xr-- 1 root backup 270 Jul 21 10:10 mytest

# cat /usr/bin/mytest
exec > /usr/users/operator/mytest.log 2>&1
cd /sbin
vdump -0 -u -v -f /dev/nrmt0h /
vdump -0 -u -v -f /dev/rmt0h /

Execute the script:
# at -m now
/usr/bin/mytest
#...
# cat mytest.log
path : /
dev/fset : /dev/re0a
type : ufs
vdump: Date of last level 0 dump: the start of the epoch
vdump: Dumping directories
vdump(bd): unable to open directory <./etc/auth>; [13] Permission denied
vdump(bd): unable to open directory <./sbin/rc0.d>; [13] Permission denied
vdump(bd): unable to open directory <./sbin/rc2.d>; [13] Permission denied
vdump(bd): unable to open directory <./sbin/rc3.d>; [13] Permission denied
vdump(bd): unable to open directory <./.dt/Desktop>; [13] Permission denied
vdump(bd): unable to open directory <./tcb/files>; [13] Permission denied
vdump(bd): unable to open directory <./tcb/lib>; [13] Permission denied
vdump(bd): unable to open directory <./.netscape-cache>; [13] Permission
denied
vdump(bd): unable to open directory <./.netscape>; [13] Permission denied
vdump(bd): unable to open directory <./nsmail>; [13] Permission denied
vdump: Dumping 94701390 bytes, 107 directories, 1644 files
vdump: Dumping regular files
bd ./
bd ./etc/
bd ./etc/nls/
bd ./etc/nls/loc/
bf ./etc/nls/loc/C, 2586
...

What should I do to change "operator" account and mytest settings to make it
works?

Thanks in advance.

O/S: Tru64 V4.0E
Platform: Alpha 4100
Tape: TZ88

> Warren
>
>
Received on Mon Jul 21 2003 - 18:46:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT