Skip to content

Commit 55a97a0

Browse files
authored
Make sure correct permissions are used. (#79)
1 parent b27aa17 commit 55a97a0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- "Make sure that ``build.sh`` created by the ``sphinx-init`` subcommand sets proper permissions for antsibull-docs on the ``temp-rst`` directory it creates (https://github.com/ansible-community/antsibull-docs/pull/79)."

src/antsibull_docs/data/sphinx_init/build_sh.j2

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ cd @{ dest_dir }@
99
# Create collection documentation into temporary directory
1010
rm -rf temp-rst
1111
mkdir -p temp-rst
12+
chmod og-w temp-rst # antsibull-docs wants that directory only readable by itself
1213
antsibull-docs \
1314
--config-file antsibull-docs.cfg \
1415
{% if use_current %}

0 commit comments

Comments
 (0)