Files on SMB-Share are locked and some apps can't touch them

Solution 1:

I found a solution at http://www.stanford.edu/group/macosxsig/blog/2010/01/snow_leopard_samba_and_nt_acl.html

This feature/bug is specific to Snow Leopard - OS X 10.6.

Modify /etc/smb.conf and add

[global]
acl check permissions = no
nt acl support = no

Do not forget to restart samba, or reboot after this.

To detect all locked files run:

find /path -flags uchg

To remove all locks from existing files run:

chflags -R nouchg /path/

Solution 2:

Realise this is an old q but hopefully this will help someone who ends up here.

I was having a similar problem on OSX 10.8.4. I managed to solve it by disabling indexing on the drive which contained the shared folder on the Windows 7 machine.

On Windows 7 "Computer" screen right-click the drive, go to Properties. Un-check "Allow files on this drive to have contents indexed..." Then click OK and in the popup choose "Apply changes to drive, subfolders and files"