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
franki When it runs, it errors on alot of directorys because some of
franki the old web sites have spaces in their directory or file names..
Franki,
Try using the printf action of the find command to quote the file names:
find . -type d -printf '%p'\n | xargs chmod 755
find .
cool, I'll do that...thanks.
One last thing I wanted to ask
in my logs, I am getting reports that files are world writable, even though
they are owned by apache and chmod 644 or 755...
has anyone else got that from the logging in mdk7.2???
regards
Frank
-Original Message-
From:
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