[talk] Recursive chmod problem

ori at eigenstate.org ori at eigenstate.org
Thu Dec 2 21:49:38 EST 2021

Quoth Jonathan Drews <jondrews at fastmail.com>:
> Hi Gals & Guys:
>  I have a problem which happens both on OpenBSD and Debian Linux. 
> $ chmod -R 660 *.pdf
> does not change entries in directories.

of course; think about what globs expand to. Do you have
any directories named 'dir.pdf'? if not, how would they
show up in the glob?

	echo chmod -R 660 *pdf

will let you see the expanded command.

More information about the talk mailing list