source: trunk/samba-3.0.25pre1/docs/htmldocs/manpages/vfs_readonly.8.html @ 1

Last change on this file since 1 was 1, checked in by Paul Smedley, 14 years ago

Initial code import

File size: 2.8 KB
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_readonly</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="vfs_readonly.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_readonly &#8212; make a Samba share read only for a specified time period</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">vfs objects = readonly</code> </p></div></div><div class="refsect1" lang="en"><a name="id263118"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the
2        <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The <span><strong class="command">vfs_readonly</strong></span> VFS module marks a share
3        as read only for all clients connecting within the configured
4        time period. Clients connecting during this time will be denied
5        write access to all files in the share, irrespective of ther
6        actual access privileges.</p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id230794"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">readonly:period = BEGIN, END</span></dt><dd><p>Only mark the share as read only if the client
7                connection was made between the times marked by the
8                BEGIN and END date specifiers.
9                The syntax of these date specifiers is the
10                same as that accepted by the -d option of GNU
11                <a href="date.1.html"><span class="citerefentry"><span class="refentrytitle">date</span>(1)</span></a>.
12                </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id231153"></a><h2>EXAMPLES</h2><p>Mark all shares read only:</p><pre class="programlisting">
13        <em class="parameter"><code>[global]</code></em>
14        <a class="indexterm" name="id231172"></a>vfs objects = readonly
15</pre><p>Mark the [backup] share as read only during business hours:</p><pre class="programlisting">
16        <em class="parameter"><code>[backup]</code></em>
17        <a class="indexterm" name="id231194"></a>path = /readonly
18        <a class="indexterm" name="id231201"></a>vfs objects = readonly
19        <a class="indexterm" name="id231407"></a>readonly:period = readonly:period = "today 9:00","today 17:00"
20</pre></div><div class="refsect1" lang="en"><a name="id231417"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.
21        </p></div><div class="refsect1" lang="en"><a name="id231427"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
22        were created by Andrew Tridgell. Samba is now developed
23        by the Samba Team as an Open Source project similar
24        to the way the Linux kernel is developed.</p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.