![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How Prevent from deleting subdirectory files | megh | SUN Solaris | 2 | 11-15-2008 12:36 PM |
| iTunes: How to prevent access to the iTunes Store on your network | iBot | OS X Support RSS | 0 | 11-11-2008 06:30 PM |
| remove files other than selected | freakygs | Shell Programming and Scripting | 22 | 11-28-2007 08:54 AM |
| Locking a file when using VI to prevent multiple-edit sessions by diff users | Browser_ice | AIX | 14 | 11-23-2006 10:43 AM |
| How to connect to a Network disk using SAMBA | R00tSc0rpi0n | Filesystems, Disks and Memory | 1 | 09-07-2006 11:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Samba - prevent locking of selected files over network?
I have a samba server which is serving a mixture of files. One main application uses a data file and creates a temporary working execution file at startup and holds that temp execution file open for the duration of the program's execution (but doesn't use the file at all after initial startup).
The problem is when a second user wants to run the application (and they all do) they cannot create/replace the temp file because it is file locked over the network by the other running copy of the application, despite the application not using it any more. The application is a long running program, we're talking hours at a time. This results in us having to remove the file from the unix file system manually at user request so the next user using the application against the share succeeds in creating the temp file and starting up. So the question is, is it possible to selectively disable file locking over the network in samba (preferably by regex)? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|