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.

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
Learn about
include
files