Skip to content

Commit 0dc4ca9

Browse files
committed
deploy: 29d2dd4
1 parent 4d4b12c commit 0dc4ca9

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

devel/simplesamlphp-install-repo.html

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,22 +136,45 @@ <h2 id="installing-from-git">
136136
</code></pre>
137137
</div>
138138
<p>
139-
The default config.php has a setting
139+
SimpleSAMLphp uses Symfony to maintain a cache which is by default stored
140+
at
141+
<code>
142+
/var/cache/simplesamlphp
143+
</code>
144+
. You are encouraged to consider something
145+
like the ACL commands from the
146+
<a href="https://symfony.com/doc/current/setup/file_permissions.html#1-using-acl-on-a-system-that-supports-setfacl-linux-bsd">
147+
Symfony
148+
website
149+
</a>
150+
to enable access to this cache directory.
151+
</p>
152+
<p>
153+
The cache directory is stored at the location indicated by the
140154
<code>
141155
cachedir
142156
</code>
143-
which defaults to
157+
option in your config.php (defaulting to
144158
<code>
145159
/var/cache/simplesamlphp
146160
</code>
147-
. This directory should exist and be
148-
writable by the web server user. You may like to consider something
149-
like the ACL commands from the
161+
). This directory should exist and be
162+
writable by the web server user and the user you use to run composer.
163+
</p>
164+
<p>
165+
Some commands which may be run from composer will want to clear this
166+
cache which leads to a situation that the cache directory will need
167+
permission to be updated by both the web server and also from your
168+
regular user account that you use to checkout the git repository and
169+
run composer.
170+
</p>
171+
<p>
172+
This is why it is recommended to use the solution provided on the
150173
<a href="https://symfony.com/doc/current/setup/file_permissions.html#1-using-acl-on-a-system-that-supports-setfacl-linux-bsd">
151174
Symfony
152175
website
153176
</a>
154-
to enable access to this cache directory.
177+
linked above to enable access to this cache directory.
155178
</p>
156179
<p>
157180
Install the external dependencies with Composer (you can refer to

0 commit comments

Comments
 (0)