On Wed, Jan 14, 2009 at 12:42, Cristian Rodríguez
find /path/of/directory -type f -exec chmod 600 {} +
Thanks very much to everyone that responded. I always thought there was an option of chmod (or similar) that did not change the 'x' bit on directories but I guess not. I found Cristian's solution the most elegant (I even learnt a bit more about the -exec option of find, after bothering to read the man page to understand what the curly braces and plus did at the end of the command). Randall, using the symbolic mode versus numeric mode doesn't change how the command affects directories versus files (although I may have missed the point you were making in your mail ;) Thanks again everyone, h -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org