Windows Backup creates "locked" directory on SMB share
I'm trying to back up my Windows 7 laptop to my Mac Mini over SMB.
Normal non-backup file operations work okay, from the desktop: I can create folders, drag files, delete files, etc.
But Windows Backup fails, because it creates a directory on the SMB share that--despite ACLs--OS X won't let anyone create files within, or change the security settings. The only option is to rm -rf the directory.
The ACLs look like this (the directory Windows Backup creates is called 'MEGALITH'. I tried creating a parent directory (called 'Megalith') with inherited ACLs, but to no avail:
sarsen:Megalith root# ls -le .
total 0
drwx------+ 2 windowsbackupuser staff 68 Jan 8 12:49 MEGALITH
0: user:root inherited allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,re adextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_i nherit
1: group:admin inherited allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,re adextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_i nherit
2: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
Even with these ACLs, I cannot chown the MEGALITH directory. Nor can I edit its ACLs in the Server window.
My SMB config is:
sarsen$ defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.serve r
{
AclsEnabled = 1;
AllowGuestAccess = 0;
AllowNTLM2Auth = 1;
DOSCodePage = 437;
EnabledServices = (
disk
);
LocalKerberosRealm = "LKDC:SHA1.C5D430A59786EE0CC0515EEF37A77A538C6D612A";
NetBIOSName = sarsen;
ServerDescription = sarsen;
Workgroup = WORKGROUP;
"wins server" = (
{
}
);
}
And the error log says:
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: init request
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: init return domain: SARSEN server: SARSEN
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: uid=0
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: od failed with 2 proto=ntlmv1-with-v2-session
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: user=SARSEN\\windowsbackupuser
Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request kdc: ok user=SARSEN\\windowsbackupuser proto=ntlmv1 flags: NEG_KEYEX, ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM2, NEG_ALWAYS_SIGN, NEG_NTLM, NEG_SIGN, NEG_TARGET, NEG_UNICODE