Skip to content

Commit 4f4fb5c

Browse files
authored
Merge pull request #403 from adamretter/default-permissions
Update default permissions info for eXist-db 5.0.0
2 parents 7036014 + fea323a commit 4f4fb5c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/main/xar-resources/data/production_good_practice/production_good_practice.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,15 @@
186186
</listitem>
187187
</varlistentry>
188188
<varlistentry>
189-
<term><code>default-permissions</code></term>
189+
<term><code>default permissions</code></term>
190190
<listitem>
191191
<para>The default permissions for creating resources and collections in
192-
eXist-db are set in <literal>conf.xml</literal>. The current
193-
settings are ok, but you may like to improve on them for your own
194-
application security.</para>
192+
eXist-db are <code>0666</code> for resources, and <code>0777</code> for collections.
193+
From these default permissions, the user's umask is subtracted to give the permissions
194+
assigned to new resources and collections. By default each new user has the umask <code>022</code>,
195+
which leads to new resources having the mode <code>0644</code>, and collections <code>0755</code>.
196+
You may wish to modify the umask of some of your users to further restrict the default permisions
197+
when they create resources and collections.</para>
195198
</listitem>
196199
</varlistentry>
197200
<varlistentry>

0 commit comments

Comments
 (0)