[talk] Recursive chmod problem

Jonathan Drews jondrews at fastmail.com
Thu Dec 2 21:47:51 EST 2021


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. I tested this both on OpenBSD
and Debian Linux.

However:
find . -type f -exec chmod 660 {} \;

will make the correct changes in the subdirectories. What am I doing
wrong here in regards to chmod -R ?


--
Kind regards,
Jonathan



More information about the talk mailing list