db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaa...@apache.org
Subject svn commit: r1336732 - in /db/derby/docs/trunk/src/ref: crefproper22250.dita rrefproperdefaultfileperms.dita
Date Thu, 10 May 2012 15:00:28 GMT
Author: chaase3
Date: Thu May 10 15:00:28 2012
New Revision: 1336732

URL: http://svn.apache.org/viewvc?rev=1336732&view=rev
Log:
DERBY-5442  Create documentation for restrictive file permissions feature

Modified two Reference Manual topics.

Patch: DERBY-5442-3.diff

Modified:
    db/derby/docs/trunk/src/ref/crefproper22250.dita
    db/derby/docs/trunk/src/ref/rrefproperdefaultfileperms.dita

Modified: db/derby/docs/trunk/src/ref/crefproper22250.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/crefproper22250.dita?rev=1336732&r1=1336731&r2=1336732&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/crefproper22250.dita (original)
+++ db/derby/docs/trunk/src/ref/crefproper22250.dita Thu May 10 15:00:28 2012
@@ -321,7 +321,7 @@ about when changes to the property are d
 <row>
 <entry colname="1"><i><xref href="rrefproperdefaultfileperms.dita#rrefproperdefaultfileperms">derby.storage.useDefaultFilePermissions</xref></i></entry>
 <entry colname="2">S</entry>
-<entry colname="3">Static</entry>
+<entry colname="3">Dynamic</entry>
 </row>
 <row>
 <entry colname="1"><i><xref href="rrefproperextdiagsevlevel.dita#rrefproperextdiagsevlevel">derby.stream.error.extendedDiagSeverityLevel</xref></i></entry>

Modified: db/derby/docs/trunk/src/ref/rrefproperdefaultfileperms.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefproperdefaultfileperms.dita?rev=1336732&r1=1336731&r2=1336732&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefproperdefaultfileperms.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefproperdefaultfileperms.dita Thu May 10 15:00:28 2012
@@ -38,16 +38,6 @@ servers that are started programmaticall
 <ph conref="../conrefs.dita#prod/productshortname"></ph> API.</p>
 <p>You can override this default behavior by setting the system property
 <i>derby.storage.useDefaultFilePermissions</i> to either true or false:</p>
-<ul>
-<li>If you set the property to true, the Network Server uses whatever default
-file permissions the user has set for their system.</li>
-<li>If you set the property to false, access is limited not only for files
-created by the Network Server when it is started from the command line, but also
-for embedded databases and for databases managed by servers which are started
-programmatically inside application code using the
-<ph conref="../conrefs.dita#prod/productshortname"></ph> API. This enhances
-security for all database files.</li>
-</ul>
 <p>If you use a version of Java SE earlier than Java SE 7, this property is
 ignored, and <ph conref="../conrefs.dita#prod/productshortname"></ph> uses the
 default file permissions the user has set for their system.</p>
@@ -134,9 +124,13 @@ systems with various settings of the
 <p><xref href="crefproper51399.dita#crefproper51399/rrefproper41229">system-wide</xref></p>
 </section>
 <section><title>Dynamic or static</title>
-<p>This property is static; if you change it while
-<ph conref="../conrefs.dita#prod/productshortname"></ph> is running, the change
-does not take effect until you reboot.</p>
+<p>Dynamic. Existing files will keep their previous permissions, but files
+created after the property is set will have the permissions specified by the
+property. If you want all the files in the database to have the same
+permissions, do not change the property while
+<ph conref="../conrefs.dita#prod/productshortname"></ph> is running.</p>
+<p>For information about dynamic changes to properties, see
+<xref href="crefproperdynstat.dita#crefproperdynstat"/>.</p>
 </section>
 </refbody>
 </reference>



Mime
View raw message