[mythtv-commits] Ticket #11221: The use of OpenAndUnlink() in mainserver.cpp::DeleteFile() prevents the use of CIFS
MythTV
noreply at mythtv.org
Sun Nov 4 15:19:56 UTC 2012
#11221: The use of OpenAndUnlink() in mainserver.cpp::DeleteFile() prevents the use
of CIFS
------------------------+--------------------------------------
Reporter: dargllun@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.26-fixes | Severity: medium
Keywords: | Ticket locked: 0
------------------------+--------------------------------------
CIFS's implementation of unlink() fails with EBUSY if the file is still
open. This is no bug of CIFS, but an intended limitation done in favour of
consistent behaviour. So when a file is really to be deleted, the pattern
open->unlink should be avoided. A work around for this is to use NFS, but
CIFS should be supported as well. Especially when using a NAS, the
concurrent use of multiple mount file systems to access the same resource
is prone to cause major headaches with file permissions, and also is an
additional maintenance burden.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11221>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list