using tar for backup - error permission denied
Hi,
I'm using tar to backup the whole hard drive with root as username.
But having problem with permission denied.
my command was
tar clSf - . | (cd /mnt/newmount; tar xpSf -)
my current directory was /
even when I moved to ~/ still have same problem with these files ./.bashrc ...
I changed the permission to those files to 777 still have permission denied.
tar:./.bashrc: Cannot open: Permission denied
tar: Error exit delayed from previous errors
Please show me.
Thanks,
|