Listmates, I got tired of having to continually type the long find command to set directory permission for the directories on my web site as well as the same form with an 'f' instead of a 'd' to manage the files. So I wrote a little script to do it. Typing dchm and fchm is a lot easier. (or dchm 0750) Both scripts accept a normal octal-mode digit string to set the permissions to something other than the defaults and an argument of -, h, or H will show short usage information. Help yourself to the scripts if you have a need at: http://www.3111skyline.com/download/linux/scripts/utils/dchm http://www.3111skyline.com/download/linux/scripts/utils/fchm Called with no argument the scripts set default permissions for files at 0644 and 0755 for directories. It also confirms any changes before they are made. I haven't added a command line option or parsing for specifying the directory to operate on yet, so you must change to the directory you would like to operate on. (thankfully, the find command operates recursively, so just change to the top directory you want to operate on) ** note: it currently calls find with sudo, so if you have not configured sudo on your system, then just edit the scripts and delete the sudo calls. Otherwise the scripts will give errors when the sudo calls are reached. Additionally, if you are interested in learning bash scripting and haven't got too far into it, the scripts make use of quite a number of basic bash tricks-n-tips that took me a while to find when I was just starting on scripts, that help quite a bit. Enjoy. -- David C. Rankin, J.D.,P.E. | openSoftware und SystemEntwicklung Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 www.rankinlawfirm.com | http://counter.opensuse.org/11.1/small -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org