From 1e8731f092a7683d90bc76361d63a3c943de0277 Mon Sep 17 00:00:00 2001 From: alvin-chang Date: Thu, 20 Feb 2014 06:04:48 +0000 Subject: [PATCH] Match directory permission with 755 instead of 644 Directories need the execution bit being set therefore instead of 644, it needs 755. --- docsite/rst/intro_adhoc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/intro_adhoc.rst b/docsite/rst/intro_adhoc.rst index 9e2238615f..a49fdcfdc4 100644 --- a/docsite/rst/intro_adhoc.rst +++ b/docsite/rst/intro_adhoc.rst @@ -138,7 +138,7 @@ same options can be passed directly to the ``copy`` module as well:: The ``file`` module can also create directories, similar to ``mkdir -p``:: - $ ansible webservers -m file -a "dest=/path/to/c mode=644 owner=mdehaan group=mdehaan state=directory" + $ ansible webservers -m file -a "dest=/path/to/c mode=755 owner=mdehaan group=mdehaan state=directory" As well as delete directories (recursively) and delete files::