blob: a6bebaf56baace14c21fe32306c4f4d0074c9054 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
.\" Title: vfs_readonly
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
.\" Date: 09/18/2008
.\" Manual: System Administration tools
.\" Source: Samba 3.2
.\"
.TH "VFS_READONLY" "8" "09/18/2008" "Samba 3\.2" "System Administration tools"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
vfs_readonly - make a Samba share read only for a specified time period
.SH "SYNOPSIS"
.HP 1
vfs objects = readonly
.SH "DESCRIPTION"
.PP
This VFS module is part of the
\fBsamba\fR(7)
suite\.
.PP
The
vfs_readonly
VFS 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\.
.PP
This module is stackable\.
.SH "OPTIONS"
.PP
readonly:period = BEGIN, END
.RS 4
Only 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
\fBdate\fR(1)\.
.RE
.SH "EXAMPLES"
.PP
Mark all shares read only:
.sp
.RS 4
.nf
\fI[global]\fR
\fIvfs objects = readonly\fR
.fi
.RE
.PP
Mark the [backup] share as read only during business hours:
.sp
.RS 4
.nf
\fI[backup]\fR
\fIpath = /readonly\fR
\fIvfs objects = readonly\fR
\fIreadonly:period = readonly:period = "today 9:00","today 17:00"\fR
.fi
.RE
.SH "VERSION"
.PP
This man page is correct for version 3\.0\.25 of the Samba suite\.
.SH "AUTHOR"
.PP
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\.
|