Try putting quotes around the directory's path.
--- Franki <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have put my script for chmod and chown of /var/www
> in cond.daily
>
> When it runs, it errors on alot of directorys
> because some of the old web
> sites have spaces in their directory or file names..
>
> I stopped doing that along time ago, but there are
> still files and
> directorys in there that have spaces in their
> names..
>
> as such, the script errors for those
> files/directories, as it is reading
> only the first word, and then comes back with
> "file/directory does not
> exist"
>
> Is there a way to make allowance for this ? or do I
> have to modify those
> pages.???
>
> many thanks
>
> rgds
>
> Frank
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/