[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] php script to list files and sub folders recursively



Richard Balthazor wrote:

On Fri, 25 Jun 2004, Chris Johnson wrote:

I've trawled php.net and google for a script allow me to chmod a folder and
its subfolders adn files and not got anywhere quickly. Does anyone have any
pointers?

What about

% cd <requiredfolder>
% chmod 700 .
% find . -name '*' -exec chmod 700 {} \;
What's wrong with "chmod -R 700 /path/to/folder" ??

- J

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

 GNU the choice of a complete generation.