- Timestamp:
- May 26, 2009, 9:43:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/manpages/smbcacls.1.html
r204 r226 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbcacls</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbcacls.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbcacls — Set or get ACLs on an NT file or directory names</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbcacls</code> {//server/share} {filename} [-D acls] [-M acls] [-a acls] [-S acls] [-C name] [-G name] [--numeric] [-t] [-U username] [-h] [-d]</p></div></div><div class="refsect1" lang="en"><a name="id24792 16"></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">smbcacls</code> program manipulates NT Access Control2 Lists (ACLs) on SMB file shares. </p></div><div class="refsect1" lang="en"><a name="id24792 45"></a><h2>OPTIONS</h2><p>The following options are available to the <code class="literal">smbcacls</code> program.1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbcacls</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbcacls.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbcacls — Set or get ACLs on an NT file or directory names</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbcacls</code> {//server/share} {filename} [-D acls] [-M acls] [-a acls] [-S acls] [-C name] [-G name] [--numeric] [-t] [-U username] [-h] [-d]</p></div></div><div class="refsect1" lang="en"><a name="id2479222"></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">smbcacls</code> program manipulates NT Access Control 2 Lists (ACLs) on SMB file shares. </p></div><div class="refsect1" lang="en"><a name="id2479251"></a><h2>OPTIONS</h2><p>The following options are available to the <code class="literal">smbcacls</code> program. 3 3 The format of ACLs is described in the section ACL FORMAT </p><div class="variablelist"><dl><dt><span class="term">-a acls</span></dt><dd><p>Add the ACLs specified to the ACL list. Existing 4 4 access control entries are unchanged. </p></dd><dt><span class="term">-M acls</span></dt><dd><p>Modify the mask value (permissions) for the ACLs … … 53 53 <code class="constant">".progname"</code> will be appended (e.g. log.smbclient, 54 54 log.smbd, etc...). The log file is never removed by the client. 55 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id247838 2"></a><h2>ACL FORMAT</h2><p>The format of an ACL is one or more ACL entries separated by55 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2478387"></a><h2>ACL FORMAT</h2><p>The format of an ACL is one or more ACL entries separated by 56 56 either commas or newlines. An ACL entry is one of the following: </p><pre class="programlisting"> 57 57 REVISION:<revision number> … … 78 78 permissions</p></li><li><p><span class="emphasis"><em>CHANGE</em></span> - Equivalent to 'RXWD' permissions 79 79 </p></li><li><p><span class="emphasis"><em>FULL</em></span> - Equivalent to 'RWXDPO' 80 permissions</p></li></ul></div></div><div class="refsect1" lang="en"><a name="id24785 47"></a><h2>EXIT STATUS</h2><p>The <code class="literal">smbcacls</code> program sets the exit status80 permissions</p></li></ul></div></div><div class="refsect1" lang="en"><a name="id2478552"></a><h2>EXIT STATUS</h2><p>The <code class="literal">smbcacls</code> program sets the exit status 81 81 depending on the success or otherwise of the operations performed. 82 82 The exit status may be one of the following values. </p><p>If the operation succeeded, smbcacls returns and exit … … 84 84 or there was an error getting or setting the ACLs, an exit status 85 85 of 1 is returned. If there was an error parsing any command line 86 arguments, an exit status of 2 is returned. </p></div><div class="refsect1" lang="en"><a name="id247858 0"></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="id2478591"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities86 arguments, an exit status of 2 is returned. </p></div><div class="refsect1" lang="en"><a name="id2478585"></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="id2478596"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 87 87 were created by Andrew Tridgell. Samba is now developed 88 88 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.