GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VFS_READONLY(8) System Administration tools VFS_READONLY(8)

vfs_readonly - make a Samba share read only for a specified time period

vfs objects = readonly

This VFS module is part of the samba(7) suite.

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 their actual access privileges.

This module is stackable.

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 date(1).

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"

This man page is part of version 4.13.17 of the Samba suite.

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.
01/31/2022 Samba 4.13.17

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.