# Skip deleted or empty log directories
if test ! -d "$LOG_SRC" || ! ls "$LOG_SRC"/*/*/*.log >/dev/null 2>&1; then
# Skip deleted or empty log directories
if test ! -d "$LOG_SRC" || ! ls "$LOG_SRC"/*/*/*.log >/dev/null 2>&1; then
continue
fi
# Skip people who have unreadable log subdirectories
if test -d "$USER_HOME/.logs" && \
! ls "$USER_HOME/.logs" >/dev/null 2>&1; then
continue
fi
# Skip people who have unreadable log subdirectories
if test -d "$USER_HOME/.logs" && \
! ls "$USER_HOME/.logs" >/dev/null 2>&1; then
# ERROR=yes
# We will assume that people know what they are doing when they
# delete their ~/.logs/apache directory ....
# ERROR=yes
# We will assume that people know what they are doing when they
# delete their ~/.logs/apache directory ....
chown -R $USER:nogroup $TMP_DEST
chmod -R u=rwX,go=X $TMP_DEST
k5start -qtU -f $KEYTAB_DIR/$USER \
chown -R $USER:nogroup $TMP_DEST
chmod -R u=rwX,go=X $TMP_DEST
k5start -qtU -f $KEYTAB_DIR/$USER \