On Thu, 5 Jun 2003 22:58:45 -0400 Greg Meyer <[EMAIL PROTECTED]> wrote:
> Can I run chmod so that it only applies the changes to files or only to > directories. I don't see an option in the man page that does this, but I am > sure it must be possible. I want my files to be set to 644 and my > directories to 755. > -- > Greg > You could go to the level above the top directory you want to change and do a chmod -R 644 MyDir which will change the directory and everything underneath to 644. Then go back and chmod 755 MyDir and repeat for each directory underneath MyDir that you want to be 755. In the first part (the 644), the -R makes the chmod recursive and changes everything below. Then, in the second part (755), you set to 755 everything you want to be 755. There may be another way, but the above will definitely work. Joeb
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
