View Single Post
  #10  
Old 20th December 2007, 20:01
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hello Falko,
I've tried the command as you indicate, below the outputs :
debian:~# mkdir -p /var/lib/named/etc
debian:~# mkdir /var/lib/named/dev
mkdir: ne peut créer le répertoire `/var/lib/named/dev': Le fichier existe.

debian:~# mkdir -p /var/lib/named/var/cache/bind
debian:~# mkdir -p /var/lib/named/var/run/bind/run
debian:~# mv /etc/bind /var/lib/named/etc
mv: `/etc/bind' et `/var/lib/named/etc/bind' identifient le même fichier.

debian:~# ln -s /var/lib/named/etc/bind /etc/bind
debian:~# mknod /var/lib/named/dev/null c 1 3
mknod: `/var/lib/named/dev/null': Le fichier existe.
debian:~# mknod /var/lib/named/dev/random c 1 8
mknod: `/var/lib/named/dev/random': Le fichier existe.

debian:~# chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
debian:~# chown -R bind:bind /var/lib/named/var/*
debian:~# chown -R bind:bind /var/lib/named/etc/bind
debian:~#

In bold you can see the message which indicate that the files or the directory exist.

Thanks more
Reply With Quote