* Backup fails on "permission denied"
@ 2003-07-21 18:44 Liang, Warren
0 siblings, 0 replies; only message in thread
From: Liang, Warren @ 2003-07-21 18:44 UTC (permalink / raw)
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
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-21 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-21 18:44 Backup fails on "permission denied" Liang, Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox