On Thu, Jan 03, 2008 at 05:04:34PM +0000, Craig Hurley wrote: > On 03/01/2008 16:10, Douglas A. Tutty wrote: > >Find out what script it is and read it. See what this setrlimit is. > > Hi Doug, > > Here's the script. It's very basic; it recreates a folder if it has > been accidentally deleted.
By what user is this script run. The pam documentation for the limits module says that root is not affected by this limit. > > > #!/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 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]