![]() |
|
|
|
#1
|
||||
|
||||
|
Finally solved this problem!
The mission file selection process via file chooser relies upon having network share access to the mission files. The files were being locked via Samba from the Il-2 SSD client, and therefore when the server came to load them, they were unavailable for reading. This is strange because the files are not "read" by my program, they are simply selected, so they shouldn't be locked. This may have something to do with opportunistic locking by the Windows Samba client process. EDIT: Yep, confirmed it. When I add this to my share in my smb.conf it fixes it: Code:
veto oplock files = /*.mis/ Last edited by TheGrunch; 03-22-2014 at 07:11 PM. |
|
#2
|
|||
|
|||
|
Good to hear you found the cause, I know bugs that seemingly have no reason to occur are massively frustrating.
Frankly I'm not surprised that you'd run into problems with Windows and Samba. I won't go ranting about it, but ever since Vista the SMB implementation has gotten less and less usable(and don't get me started on file permissions, talk about trading usability for false security). |
|
#3
|
||||
|
||||
|
Tell me about it, apparently the specific reason for this problem is the use of the force user option in samba configuration:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|