VFS_READONLY(8) System Administration tools VFS_READONLY(8)NAME
vfs_readonly - make a Samba share read only for a specified time period
SYNOPSIS
vfs objects = readonly
DESCRIPTION
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.
OPTIONS
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).
EXAMPLES
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"
VERSION
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.
Samba 4.0 06/17/2014 VFS_READONLY(8)
Check Out this Related Man Page
VFS_SHADOW_COPY(8) System Administration tools VFS_SHADOW_COPY(8)NAME
vfs_shadow_copy - Make a Samba share read only for a specified time period
SYNOPSIS
vfs objects = shadow_copy
DESCRIPTION
This VFS module is part of the samba(7) suite.
The vfs_shadow_copy VFS module functionality that is similar to Microsoft Shadow Copy services. When setup properly, this module allows
Microsoft Shadow Copy clients to browse "shadow copies" on Samba shares.
This module is stackable.
CONFIGURATION
vfs_shadow_copy relies on a filesystem snapshot implementation. Many common filesystems have native support for this.
Filesystem snapshots must be mounted on specially named directories in order to be recognized by vfs_shadow_copy. The snapshot mount points
must be immediate children of a the directory being shared.
The snapshot naming convention is @GMT-YYYY.MM.DD-hh.mm.ss, where:
o YYYY is the 4 digit year
o MM is the 2 digit month
o DD is the 2 digit day
o hh is the 2 digit hour
o mm is the 2 digit minute
o ss is the 2 digit second.
The vfs_shadow_copy snapshot naming convention can be produced with the following date(1) command:
TZ=GMT date +@GMT-%Y.%m.%d-%H.%M.%S
EXAMPLES
Add shadow copy support to user home directories:
[homes]
vfs objects = shadow_copy
CAVEATS
This is not a backup, archival, or version control solution.
With Samba or Windows servers, vfs_shadow_copy is designed to be an end-user tool only. It does not replace or enhance your backup and
archival solutions and should in no way be considered as such. Additionally, if you need version control, implement a version control
system.
VERSION
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.
Samba 3.5 06/18/2010 VFS_SHADOW_COPY(8)
Hello all,
I have successfully installed samba 3.0.22 on my sol 9 e250 machine. I created my share but when i try to get to my share from my windows machine, it prompts me for my username and passwd, i enter it and it just comes back prompting me for my username and passwd agai,. Has anyone been... (8 Replies)
hello,
I have the following basic script which input the period, but I would like to output is period -1.. how?
echo Please input period (yyyymm):
read PERIOD
OUTPUT=$PERIOD -1
echo " you request period -1 is $OUT"
input 200705
output 200704
input 200701
output 200612
The above... (4 Replies)
Hi I have a simple question.
Is there an easy way to read a date of birth from a file and calculate how old that person is based on today's date? And would I need the make sure the birthdates are enterered in a particular format?
Thanks (10 Replies)
Hi to all! I 'm new in unix programing so... may be I decided a wrong tool to solve the problem but anyway... all road goes to rome jajaja.
My question is: There is any way to print date at the END clause of an AWK script. I mean, I'm writing a tool with AWK and the results are redirected to a... (4 Replies)
Hi,
Please can somebody advise me on the issue where I have a Samba mount created for one of the directories with read only access to all the IP's in the network.
Now beside read only access I want to provide Modify access also for two IP's.
Please advise.
Best Regards,
Shazin (5 Replies)
i'm new at UNIX, and i;ve wonderd - can i write an alias that will show me only files from today? (not directories) ls -somthing, or some script that works with date...
:)
Thanks (4 Replies)
Hi,
Can some one please tell me how do I generate a report of the Memory Consumption over a time period:
HP-UX B.11.31 U ia64 0440531406 unlimited-user license
I normally use glance to monitor memory in run time.
Note: I do not have root privileges.
Thanks
Danish
... (5 Replies)
I am setup a samba share server which is authenticating from Active Directory.
I am able to access the share with AD user but not able to access when group defined in "valid users" parameters.
below are the steps i performed.
In smb.conf
workgroup = QASLABS
password server =... (3 Replies)
Users connecting to AIX server face disconnection after a period of inactivity. I have tried checking the /etc/profile.The TMOUT value seems to be 0.However there is disconnection being faced. Can someone help me to identify other areas that I probably may be missing. (4 Replies)
I have a Win7 machine which is connected to a perfectly ordinary Samba share. Suddenly, it has started refusing to connect to it with error 0x80070035 -- "the network path was not found". Attempting to login with its IP address \\192.168.x.x does not work either. When I attempt to diagnose the... (8 Replies)
Hello!
i am having a ubuntu server with two empty disks and connected software raid1 to it.
I am having /mnt/raid folder which i created to mount it.
SO should i now make a share folder inside that or what? I ama bit confused when a raid is present. (27 Replies)