On Thu, Aug 14, 2008 at 11:14 AM, skogzort <[EMAIL PROTECTED]> wrote:
> Hello,
> Ib m trying to copy all the contents of "/root/var/namedb  from a remote
> OpenBSD3.8 DNS server to my local PC. I am using WinSCP for file transfer. I
> have found that I am unable to download some of the directories:
>
> /root/var/named/etc
> /root/var/named/log
> /root/var/named/slave
>
> I do not know OpenBSD or Unix but I can use Putty to login to the console as a
> member of the wheel group then I can type su b  to execute commands as root.

Either log in as root and tarball the directory, or log in as root
through scp and pull it in.

> I was told that I should copy the etc, log, and slave directories to my local
> user directory, then I would be allowed to download them using WinSCP.
>
> I do not know the commands to copy a whole directory. Can anyone help? I want
> to make sure that when the copies end up in my home directory, they no longer
> have b whatever restrictions" are keeping me from downloading them from where
> the originals are at now.

man cp(1)

Reply via email to