[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PAM failure?



On 03/01/2008 16:10, Douglas A. Tutty wrote:
Find out what script it is and read it.  See what this setrlimit is.

Doug.



Hi Doug,

Here's the script. It's very basic; it recreates a folder if it has been accidentally deleted.


#!/bin/bash

vpath="/path/to/folder"

if [ $# -ne 0 ] ; then
        echo Usage: $0
        exit 1
fi

#
# make sure folder structure is intact
#

if [ ! -d $vpath ] ; then
        mkdir $vpath
        chown root:www-data $vpath
        chmod 770 $vpath
fi

exit 0


Reply to: