1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_worm.8">
6 <refentrytitle>vfs_worm</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">4.2</refmiscinfo>
15 <refname>vfs_worm</refname>
16 <refpurpose>disallows writes for older file</refpurpose>
21 <command>vfs objects = worm</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry> suite.</para>
32 <para>The <command>vfs_worm</command> module controls the writability
33 of files and folders depending on their change time and a
34 adjustable grace period.</para>
36 <para>If the change time of a file or directory is older than
37 the specified grace period, the write access will be denied,
38 independent of further access controls (e.g. by the filesystem).</para>
40 <para>In the case that the grace period is not exceed, the worm
41 module will not impact any access controls.</para>
45 <title>OPTIONS</title>
50 <term>worm:grace_period = SECONDS</term>
52 <para>Period in seconds which defines the time how long the
53 write access should be handled by the normal access controls.
54 After this grace period the file or directory becomes read
63 <title>EXAMPLES</title>
65 <para>Deny the write access to files and folders, which are older
66 than five minutes (300 seconds):</para>
69 <smbconfsection name="[wormshare]"/>
70 <smbconfoption name="vfs objects">worm</smbconfoption>
71 <smbconfoption name="worm:grace_period">300</smbconfoption>
77 <title>VERSION</title>
79 <para>This man page is correct for version 4.2 of the Samba suite.
86 <para>The original Samba software and related utilities
87 were created by Andrew Tridgell. Samba is now developed
88 by the Samba Team as an Open Source project similar
89 to the way the Linux kernel is developed.</para>