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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 14 May 2001 1:04 AM
To: Franki
Cc: Rules Address for MDK
Subject: Re: [newbie] Chmod chown and files with spaces in their names..



    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 . -type f -printf "'%p'\n" | xargs chmod 644

--
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098


Reply via email to