home *** CD-ROM | disk | FTP | other *** search
- /*
- * @(#) config.h 1.1 91/01/26
- *
- * Copyright (C) 1991 by Christian Schlichtherle
- * (chris@attron.ruhr.sub.org)
- *
- * Permission is hereby granted to use, copy, modify or distribute
- * this file at will unless this copyright notice is removed.
- * The author disclaims any kind of warranty.
- *
- * config.h - C include file for binst(C).
- */
-
- #define INT_SIG /* You have int (*signal())() */
- #undef VOID_SIG /* You have void (*signal())() */
-
- /*
- * This is the name of the public binary directory.
- */
- #define PUBBIN "/u/bin"
-
- /*
- * Define wether you should be able to install programs you do not
- * own but you can read or if you are only allowed to install your
- * own programs.
- */
- /* #define INSTALL_OTHER /* Install all programs with read permission */
-
- /*
- * Define wether the destination file's owner and group should
- * be set to the source's owner and group or if it should be
- * set to the real user id and the real group id of the process.
- * To get in effect the INSTALL_OTHER flag must be set.
- */
- #define SRC_OWNER /* Set owner and group to the source's one */
-
- /*
- * Define wether you want to be able to overwrite other user's installed
- * programs or not.
- */
- /* #define OVERWRITE /* Overwrite other user's installed programs */
-
- /*
- * The following flag appears to updates only.
- * Define wether an update to an installed program is restricted to
- * the owner of that program or not.
- * To get in effect the INSTALL_OTHER and the SRC_OWNER flag must be set
- * and the OVERWRITE flag must be cleared.
- */
- #define OWNER_UPDATE /* Only owner is allowed to make an update */
-
- /*
- * Define wether the destination file should have the set user id and
- * set group id bit on if the source file has it or not.
- * This flag also effects the sticky bit. If it is not set the sticky
- * bit will always be cleared.
- * To get in effect this flag requires the binst(C) program to
- * have the set user id bit set for root.
- * Note that all installed programs are given 0755 permission at least
- * unless they have the SETUID, SETGIG or sticky bit set.
- */
- #define SETUID /* Set user and group id bit if source has */
-