NAME
vfsreadonly - make a Samba share read only for a specified time period
SYNOPSIS
vfs objects = readonlyDESCRIPTION
This VFS module is part of the ssaammbbaa(7) suite. The vfsreadonly VFS module marks a share as read only for all clients connecting within the configured time period. Clients connecting duringthis time will be denied write access to all files in the share, irre-
spective of ther actual access privileges. This module is stackable. OOPPTTIIOONNSS readonly:period = BEGIN, END 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 ddaattee(1).
EEXXAAMMPPLLEESS Mark all shares read only: [global] vfs objects = readonly Mark the [backup] share as read only during business hours: [backup] path = /readonly vfs objects = readonly readonly:period = readonly:period = "today 9:00","today 17:00" VVEERRSSIIOONN This man page is correct for version 3.0.25 of the Samba suite. AUTHOR 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. VFSREADONLY(8)