ansible-for-devops icon indicating copy to clipboard operation
ansible-for-devops copied to clipboard

p.37 permissions for directory

Open lionping opened this issue 5 years ago • 1 comments

book version 2.0 from Aug. 2020

on page 37 $ ansible multi -m file -a "dest=/tmp/test mode=644 state=directory"

644 is just unusual for a directory and I imagined you'd wanted to demonstrate the effect of 'mode=...' as well;... 750 or 700 (just to avoid the default 755) should be a better choice... thx for you book!! Michael

lionping avatar Nov 20 '20 08:11 lionping

Ah yes... not sure why I'd set 644 for a dir!

geerlingguy avatar Nov 20 '20 16:11 geerlingguy