You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📢 Newsroom Update

Final Cut Pro 11 begins a new chapter for video editing on Mac. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Final Cut doesn't delete the .lock files when closing a project

I have my projects on an NFS file storage. I clearly have permissions to write to and read from these locations, but Final Cut never deletes the .lock files when I close it. Each time I open a project, I get the "<project> is already in use by <me> on <my laptop>" and I have to manually go into the project and delete the .lock files.


I can't find any information at all on this, and permissions are definitely correct. I don't need administrative permissions to delete the .lock files, so there's no reason Final Cut shouldn't be able to either. Final Cut cleanly shuts down every time, so it's not crashing and therefore not getting the opportunity to clean up after itself.


Libraries locally on my Mac are fine, so it definitely has something to do with them being on an NFS share. But that's a common use for users of Final Cut, so I don't see why that itself would be an issue.


This is the command I use to mount the NFS share on my Mac:

sudo mount -t nfs -o resvport,rw,vers=4 10.9.0.9:/mnt/storage_1/ /Volumes/storage_1


This is the /etc/exports file on the Linux machine hosting the share:

/mnt/storage_1		10.9.0.0/23(rw,sync)


Here are the files as listed on the Linux machine:

$ ls -l /mnt/storage_1
total 24
drwxr-xr-x 6  501   20  4096 Sep  4 15:36 Project.fcpbundle
drwxr-xr-x 3  501   20  4096 Sep  4 15:02 Footage
drwx------ 2 root root 16384 Sep  4 10:37 lost+found
$ ls -la /mnt/storage_1/Project.fcpbundle/
total 224
drwxr-xr-x 6  501 20   4096 Sep  4 15:36  .
drwxrwxr-x 5 root 20   4096 Sep  4 15:02  ..
drwxr-xr-x 5  501 20   4096 Sep  4 15:17  4-09-2024
-rw-r--r-- 1  501 20 188416 Sep  4 15:16  CurrentVersion.flexolibrary
-rw-r--r-- 1  501 20    152 Sep  4 15:02  .CurrentVersion.flexolibrary-conch
-rw-r--r-- 1  501 20    326 Sep  4 15:02  CurrentVersion.plist
lrwxrwxrwx 1  501 20      1 Sep  4 15:36  .fcpcache -> .
-rw-rw-rw- 1  501 20      0 Sep  4 15:36  .lock
drwxr-xr-x 2  501 20   4096 Sep  4 15:36  .lock-dir
-rw-r--r-- 1  501 20    360 Sep  4 15:36  .lock-info
drwxr-xr-x 2  501 20   4096 Sep  4 15:02 'Motion Templates.localized'
-rw-r--r-- 1  501 20    265 Sep  4 15:02  Settings.plist
-rw-r--r-- 1  501 20      0 Sep  4 15:36  __Sync__
drwxr-xr-x 2  501 20   4096 Sep  4 15:02  __Temp


I'd post Final Cut logs, but the program doesn't seem to log anything to files and it barely logs anything at all to the terminal, let alone anything useful.


Although it's fixable by manually deleting the .lock files every time, I don't like it as it's error prone and possibly indicative of some other root issue. But I can't figure out what is happening and I can't find any good results anywhere.

Posted on Sep 4, 2024 6:42 AM

Reply
9 replies

Sep 4, 2024 7:23 AM in response to Veeetle

Sorry, I don't know why FCP is failing to delete the lock files.


At the moment the only suggestion that occurs to me is to try manually closing the libraries in question before quitting: either by control-clicking and choosing "Close Library <name>" or by selecting and choosing the same command from the File menu.


Does manually closing the library in the manner described above result in the correct deletion of the lock files?

Sep 4, 2024 9:16 AM in response to Tom Wolsky

I can't format the drives for APFS or HFS on a system running Linux. As far as I can tell, NFS is explicitly supported in Apple's documentation, and either way the underlying file system shouldn't matter to FCP when accessing a network share.


The mounted share supports Extended attributes for files and directories, so I don't see a technical reason why APFS/HFS vs. ext4 would make a difference to FCP. If the drives were formatted as NTFS or exFAT, then it would likely be a different story.


Or have I got this wrong? Is NFS not explicitly supported for shares on a Linux host? Is NFS support primarily for shares on a macOS host?

Sep 4, 2024 10:59 AM in response to Tom Wolsky

Yes, macOS can work with NFS drives, with limits.


Individual applications have more limits than the OS does, and thus, FCP won't work properly unless it's an APFS or HFS formatted drive.


As a former IT Engineer, I can tell you there are lots and lots of technical reasons for this. Even if Linus and macOS are both just flavors of UNIX, still, not all UNIX flavors are compatible with each other, nor are their drive formats.

Final Cut doesn't delete the .lock files when closing a project

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.