Red Hat Linux System Directories
This example dirs_system_redhat_linux_objects.cfg specifies Red Hat Linux system directories, together with their desired ownerships and permissions. This dirs_system_redhat_linux_objects.cfg file is #include'd by the parent dirs_system_objects.cfg file.
/////////////////////////////////////////////////////////////////////////////// // // dirs_system_redhat_linux_objects.cfg // /////////////////////////////////////////////////////////////////////////////// #if redhat #indent /bin drwxr-xr-x 755 0 0 root root /boot drwxr-xr-x 755 0 0 root root /boot/grub drwxr-xr-x 755 0 0 root root /dev drwxr-xr-x 755 0 0 root root /dev/bus drwxr-xr-x 755 0 0 root root /dev/bus/usb drwxr-xr-x 755 0 0 root root /dev/bus/usb/003 drwxr-xr-x 755 0 0 root root /dev/bus/usb/001 drwxr-xr-x 755 0 0 root root /dev/bus/usb/002 drwxr-xr-x 755 0 0 root root /dev/disk drwxr-xr-x 755 0 0 root root [...] /var/named/chroot/var/run drwxr-x--- 750 0 25 root named /var/named/chroot/var/run/named drwxrwx--- 770 25 25 named named /var/named/chroot/var/tmp drwxrwx--- 770 25 25 named named /var/named/chroot/var/named drwxr-x--- 750 0 25 root named /var/named/chroot/var/named/data drwxrwx--- 770 25 25 named named /var/named/chroot/var/named/slaves drwxrwx--- 770 25 25 named named /var/named/slaves drwxrwx--- 770 25 25 named named /var/db drwxr-xr-x 755 0 0 root root /var/db/nscd drwxr-xr-x 755 0 0 root root /var/nis drwxr-xr-x 755 0 0 root root #unindent #endif // redhat ///////////////////////////////////////////////////////////////////////////////
We recommend that you use the sample mkdirlist.pl Perl script to generate the system directory list #include files.
For more examples, see Samples.