MLUG: Re: [MLUG] backup via cron
Re: [MLUG] backup via cron
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 2/2/06, Daniel Nowlin <EMAIL:PROTECTED> wrote:
> Here is the output:
> drwxr-xr-x  29 dan users 4096 Jan 28 22:46 /var/ftp/files
>
> It just does not make since.  If both commands will work when I type
> them in at a BASH prompt as SU then I do not understand why they will
> not work when I put them in a script and run them via ./ as SU.
>
> Dan
>

Here's a test to see if it's anything to do with the files:
mkdir /var/testdir
dd if=/dev/urandom of=/var/testdir/bigfile bs=1024 count=$(( 1024*1024 ))

now you have a dir with a 1G file of random data inside.

change your script from "/var/ftp/files" to "/var/testdir" and see
what happens...

Regards,
Mark
EMAIL:PROTECTED
--
You think that it is a secret, but it never has been one.
  - fortune cookie

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members