Re: [newbie] Chmod chown and files with spaces in their names..

2001-05-14 Thread Todd Flinders
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

Re: [newbie] Chmod chown and files with spaces in their names..

2001-05-13 Thread skip
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 .

RE: [newbie] Chmod chown and files with spaces in their names..

2001-05-13 Thread Franki
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:

[newbie] Chmod chown and files with spaces in their names..

2001-05-12 Thread Franki
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