I have a network share that I access daily from both a Windows laptop and a MacBook Pro. The Pro (or rather the VLC app) keeps insisting on creating a ._<file name>
file for every video that I open from this network share on the Pro.
How can I prevent these files from ever being created? I've spent 2 hours researching this before giving up, and deciding to just delete them from the Windows side instead, since I already have a batch script set up to automatically map the share to a drive letter on startup.
But this has proved to be even more difficult! I've tried Get-ChildItem -Path V:\._* -Recurse -Force | Remove-Item
but this results in Remove-Item : Cannot remove item <file name>. You do not have sufficient access rights to perform this operation.
So I've tried several variations of $acl = Get-Acl <known good file>; Set-Acl -Path <file that won't f*** off> -AclObject $acl
, but those commands all come back with Set-Acl : Some or all identity references could not be translated.
I'm almost at my wit's end over this! Somebody please save me from this madness!! MTIA :-)
P.S: I'll accept a solution that works from either side (Mac or Windows) but preferably it would be awesome if these files never got created in the first place. Thanks again!
UPDATE: Here's a screenshot of the folder permissions in Windows:
I set the owner explicitly just now, and tried removing the other two ACLs through that window, but no dice...they just come straight back when hitting 'Apply'! :@
I also can't add perms. from the local computer...the dialog will only allow me to choose the network address under 'Locations':
And here's the share tab as requested by @ErjenRijnders:
My router is pretty much the cheapest, most run-of-the-mill one that my ISP gives its customers for free, so I'm surprised it even supports all of this, let alone more LOL.