source: branches/samba-3.2.x/docs/manpages/vfs_readonly.8@ 200

Last change on this file since 200 was 149, checked in by Paul Smedley, 17 years ago

Update trunk to v3.2.2

File size: 1.8 KB
Line 
1.\" Title: vfs_readonly
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 08/18/2008
5.\" Manual: System Administration tools
6.\" Source: Samba 3.2
7.\"
8.TH "VFS_READONLY" "8" "08/18/2008" "Samba 3\.2" "System Administration tools"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14vfs_readonly - make a Samba share read only for a specified time period
15.SH "SYNOPSIS"
16.HP 1
17vfs objects = readonly
18.SH "DESCRIPTION"
19.PP
20This VFS module is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24The
25vfs_readonly
26VFS module marks a share as read only for all clients connecting within the configured time period\. Clients connecting during this time will be denied write access to all files in the share, irrespective of ther actual access privileges\.
27.PP
28This module is stackable\.
29.SH "OPTIONS"
30.PP
31readonly:period = BEGIN, END
32.RS 4
33Only mark the share as read only if the client connection was made between the times marked by the BEGIN and END date specifiers\. The syntax of these date specifiers is the same as that accepted by the \-d option of GNU
34\fBdate\fR(1)\.
35.RE
36.SH "EXAMPLES"
37.PP
38Mark all shares read only:
39.sp
40.RS 4
41.nf
42 \fI[global]\fR
43 \fIvfs objects = readonly\fR
44.fi
45.RE
46.PP
47Mark the [backup] share as read only during business hours:
48.sp
49.RS 4
50.nf
51 \fI[backup]\fR
52 \fIpath = /readonly\fR
53 \fIvfs objects = readonly\fR
54 \fIreadonly:period = readonly:period = "today 9:00","today 17:00"\fR
55.fi
56.RE
57.SH "VERSION"
58.PP
59This man page is correct for version 3\.0\.25 of the Samba suite\.
60.SH "AUTHOR"
61.PP
62The 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\.
Note: See TracBrowser for help on using the repository browser.