share modes
Jeremy Allison
jra at samba.org
Thu Nov 29 12:13:09 GMT 2001
On Thu, Nov 29, 2001 at 02:52:44PM -0500, Nelson, John P. wrote:
> Hello! That somebody was me! I would really like to be able to disable
> "share modes" locking on selected "admin" shares.
>
> The actual problem involves an automated build process. Every night, we
> fetch the latest code from source control, compile it, and copy the results
> to a distribution directory. We've got two shares - one for people to use
> to access the files, and an "admin" share which is used to update the files.
> We want the update process to succeed, no matter who might be holding a file
> open by using it. We really need to be able to override an "in use" lock
> from the read-only share. It isn't just people executing files, either -
> someone using "less" to read a text file will lock that file and prevent
> that file from being updated.
>
> So Don's got it right - the "admin" share that has "share modes = no" would
> need to be readwrite, even though the other users would be accessing the
> same files through a read-only share.
Try the current CVS code. If you set "share modes = no" then
it will allow you to destroy your files using the windows
applications of your choice :-) :-).
Jeremy.
More information about the samba
mailing list