summaryrefslogtreecommitdiff
path: root/docs/htmldocs/manpages/sharesec.1.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/manpages/sharesec.1.html')
-rw-r--r--docs/htmldocs/manpages/sharesec.1.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/htmldocs/manpages/sharesec.1.html b/docs/htmldocs/manpages/sharesec.1.html
index f2dfef51bc..9f180e19d1 100644
--- a/docs/htmldocs/manpages/sharesec.1.html
+++ b/docs/htmldocs/manpages/sharesec.1.html
@@ -1,5 +1,5 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>sharesec</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="sharesec"><a name="sharesec.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>sharesec &#8212; Set or get share ACLs</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">sharesec</code> {sharename} [-r, --remove=ACL] [-m, --modify=ACL] [-a, --add=ACL] [-R, --replace=ACLs] [-D, --delete] [-v, --view] [-M, --machine-sid] [-F, --force] [-d, --debuglevel=DEBUGLEVEL] [-s, --configfile=CONFIGFILE] [-l, --log-basename=LOGFILEBASE] [-V, --version] [-?, --help] [--usage]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2489379"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The <code class="literal">sharesec</code> program manipulates share permissions
- on SMB file shares.</p></div><div class="refsect1" title="OPTIONS"><a name="id2489530"></a><h2>OPTIONS</h2><p>The following options are available to the <code class="literal">sharesec</code> program.
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>sharesec</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="sharesec.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>sharesec &#8212; Set or get share ACLs</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">sharesec</code> {sharename} [-r, --remove=ACL] [-m, --modify=ACL] [-a, --add=ACL] [-R, --replace=ACLs] [-D, --delete] [-v, --view] [-M, --machine-sid] [-F, --force] [-d, --debuglevel=DEBUGLEVEL] [-s, --configfile=CONFIGFILE] [-l, --log-basename=LOGFILEBASE] [-V, --version] [-?, --help] [--usage]</p></div></div><div class="refsect1" lang="en"><a name="id2483396"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The <code class="literal">sharesec</code> program manipulates share permissions
+ on SMB file shares.</p></div><div class="refsect1" lang="en"><a name="id2483546"></a><h2>OPTIONS</h2><p>The following options are available to the <code class="literal">sharesec</code> program.
The format of ACLs is described in the section ACL FORMAT </p><div class="variablelist"><dl><dt><span class="term">-a|--add=ACL</span></dt><dd><p>Add the ACEs specified to the ACL list.
</p></dd><dt><span class="term">-D|--delete</span></dt><dd><p>Delete the entire security descriptor.
</p></dd><dt><span class="term">-F|--force</span></dt><dd><p>Force storing the ACL.
@@ -33,7 +33,7 @@ The default configuration file name is determined at
compile time.</p></dd><dt><span class="term">-l|--log-basename=logdirectory</span></dt><dd><p>Base directory name for log/debug files. The extension
<code class="constant">".progname"</code> will be appended (e.g. log.smbclient,
log.smbd, etc...). The log file is never removed by the client.
-</p></dd></dl></div></div><div class="refsect1" title="ACL FORMAT"><a name="id2489748"></a><h2>ACL FORMAT</h2><p>The format of an ACL is one or more ACL entries separated by
+</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2483764"></a><h2>ACL FORMAT</h2><p>The format of an ACL is one or more ACL entries separated by
either commas or newlines. An ACL entry is one of the following: </p><pre class="programlisting">
REVISION:&lt;revision number&gt;
OWNER:&lt;sid or name&gt;
@@ -54,16 +54,16 @@ log.smbd, etc...). The log file is never removed by the client.
</p><p>The mask is a value which expresses the access right
granted to the SID. It can be given as a decimal or hexadecimal value,
or by using one of the following text strings which map to the NT
- file permissions of the same name.</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>R</em></span> - Allow read access </p></li><li class="listitem"><p><span class="emphasis"><em>W</em></span> - Allow write access</p></li><li class="listitem"><p><span class="emphasis"><em>X</em></span> - Execute permission on the object</p></li><li class="listitem"><p><span class="emphasis"><em>D</em></span> - Delete the object</p></li><li class="listitem"><p><span class="emphasis"><em>P</em></span> - Change permissions</p></li><li class="listitem"><p><span class="emphasis"><em>O</em></span> - Take ownership</p></li></ul></div><p>The following combined permissions can be specified:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>READ</em></span> - Equivalent to 'RX'
- permissions</p></li><li class="listitem"><p><span class="emphasis"><em>CHANGE</em></span> - Equivalent to 'RXWD' permissions
- </p></li><li class="listitem"><p><span class="emphasis"><em>FULL</em></span> - Equivalent to 'RWXDPO'
- permissions</p></li></ul></div></div><div class="refsect1" title="EXIT STATUS"><a name="id2487647"></a><h2>EXIT STATUS</h2><p>The <code class="literal">sharesec</code> program sets the exit status
+ file permissions of the same name.</p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>R</em></span> - Allow read access </p></li><li><p><span class="emphasis"><em>W</em></span> - Allow write access</p></li><li><p><span class="emphasis"><em>X</em></span> - Execute permission on the object</p></li><li><p><span class="emphasis"><em>D</em></span> - Delete the object</p></li><li><p><span class="emphasis"><em>P</em></span> - Change permissions</p></li><li><p><span class="emphasis"><em>O</em></span> - Take ownership</p></li></ul></div><p>The following combined permissions can be specified:</p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>READ</em></span> - Equivalent to 'RX'
+ permissions</p></li><li><p><span class="emphasis"><em>CHANGE</em></span> - Equivalent to 'RXWD' permissions
+ </p></li><li><p><span class="emphasis"><em>FULL</em></span> - Equivalent to 'RWXDPO'
+ permissions</p></li></ul></div></div><div class="refsect1" lang="en"><a name="id2481668"></a><h2>EXIT STATUS</h2><p>The <code class="literal">sharesec</code> program sets the exit status
depending on the success or otherwise of the operations performed.
The exit status may be one of the following values. </p><p>If the operation succeeded, sharesec returns and exit
status of 0. If <code class="literal">sharesec</code> couldn't connect to the specified server,
or there was an error getting or setting the ACLs, an exit status
of 1 is returned. If there was an error parsing any command line
- arguments, an exit status of 2 is returned. </p></div><div class="refsect1" title="EXAMPLES"><a name="id2487680"></a><h2>EXAMPLES</h2><p>Add full access for SID
+ arguments, an exit status of 2 is returned. </p></div><div class="refsect1" lang="en"><a name="id2481700"></a><h2>EXAMPLES</h2><p>Add full access for SID
<em class="parameter"><code>S-1-5-21-1866488690-1365729215-3963860297-17724</code></em> on
<em class="parameter"><code>share</code></em>:
</p><pre class="programlisting">
@@ -76,7 +76,7 @@ log.smbd, etc...). The log file is never removed by the client.
GROUP:(NULL SID)
ACL:S-1-1-0:ALLOWED/0/0x101f01ff
ACL:S-1-5-21-1866488690-1365729215-3963860297-17724:ALLOWED/0/FULL
- </pre></div><div class="refsect1" title="VERSION"><a name="id2487728"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba suite.</p></div><div class="refsect1" title="AUTHOR"><a name="id2487739"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
+ </pre></div><div class="refsect1" lang="en"><a name="id2481749"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2481760"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
were created by Andrew Tridgell. Samba is now developed
by the Samba Team as an Open Source project similar
to the way the Linux kernel is developed.</p></div></div></body></html>