Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 3960

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Struct FilePermission</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="FilePermission-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td>
<td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">io</a> :: </p>
</td>
</tr>
<tr>
<td class="title">struct FilePermission</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This permission represents access to a file or directory.
 A FilePermission consists of a file url and a set of actions valid for that url.
 </dd>
<dd><p>
 The path of the file url that ends in <code>"/*"</code> indicates all the files and
 directories contained in that directory. A path that ends with <code>"/-"</code>
 indicates (recursively) all files and subdirectories contained in that
 directory. A file url string consisting of the special token
 <code>"&lt;&lt;ALL FILES&gt;&gt;"</code> matches any file.
 <br>
 Note: A file url string consisting of a single <code>"*"</code> indicates all the files
 in the current directory, while a string consisting of a single <code>"-"</code> indicates
 all the files in the current directory and (recursively) all files and
 subdirectories contained in the current directory.
 <br>
 The actions to be granted is a list of one or more comma-separated keywords.
 The possible keywords are <code>"read"</code>, <code>"write"</code>,
 <code>"execute"</code>, and <code>"delete"</code>.
 Their meaning is defined as follows:
 <ul>
 <li><code>read</code> -- read permission</li>
 <li><code>write</code> -- write permission</li>
 <li><code>execute</code> -- execute permission</li>
 <li><code>delete</code> -- delete permission</li>
 </ul><br>
 The actions string is processed case-insensitive.
 </p>
 
 @attention
 Be careful when granting FilePermissions. Think about the implications of
 granting read and especially write access to various files and directories.
 The <code>"&lt;&lt;ALL FILES&gt;&gt;"</code> permission with write action is
 especially dangerous. This grants permission to write to the entire file system.

 </dd>
<dt><b>Since </b></dt>
<dd>OpenOffice 1.1.2</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Elements' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#URL">URL</a></td>
<td class="imsum_right">target file url
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#Actions">Actions</a></td>
<td class="imsum_right">comma separated actions list
 &nbsp;</td>
</tr>
</table>
<a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Elements' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="URL" class="membertitle">URL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>string <b>URL</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>target file url
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="Actions" class="membertitle">Actions</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>string <b>Actions</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>comma separated actions list
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>