Big Sur Ignoring Resource Forks on SMB Shares

Originator:coan.dillahunty
Number:rdar://FB9037109 Date Originated:03/09/2021
Status:Closed Resolved:05/06/2021
Product:macOS Product Version:macOS 11.2.3
Classification:Bug Reproducible:Always
 
Using a Big Sur client to write and read a file with a Resource Fork to a macOS SMB share.

1. Create an SMB file share on a Catalina (10.15.7) or Big Sur (11.2.3) Mac.
2. Use a Big Sur Mac to copy a file containing a resource fork to the SMB share.
3. Use “ls -al@“ to display the file and xattrs for the file. The resource fork will show up, but will be listed as Zero KB.

Listing from Catalina:
coan@Coans-Mac Arial Test % ls -al@
total 5306
drwx------@ 1 coan  staff    16384 Mar  4 11:18 .
	com.apple.macl	     72 
drwx------  1 coan  staff    16384 Mar  8 11:01 ..
-rwx------  1 coan  staff  1038559 Mar  8 11:01 ._Arial
-rwx------  1 coan  staff   296947 Mar  8 11:01 ._Arial Narrow
-rwx------@ 1 coan  staff        0 Apr 11  2008 Arial
	com.apple.lastuseddate#PS	     16 
	com.apple.FinderInfo	     32 
	com.apple.ResourceFork	1038477 
-rwx------@ 1 coan  staff        0 Apr 11  2008 Arial Narrow
	com.apple.FinderInfo	     32 
	com.apple.ResourceFork	 296865 

Listing from Big Sur:
cdillahunty-mbp:Arial Test cdillahunty$ ls -al@
total 5306
drwx------@ 1 cdillahunty  staff    16384 Mar  4 13:18 .
	com.apple.macl	     72 
drwx------  1 cdillahunty  staff    16384 Mar  8 13:01 ..
-rwx------  1 cdillahunty  staff  1038559 Mar  8 13:01 ._Arial
-rwx------  1 cdillahunty  staff   296947 Mar  8 13:01 ._Arial Narrow
-rwx------@ 1 cdillahunty  staff        0 Apr 11  2008 Arial
	com.apple.lastuseddate#PS	     16 
	com.apple.FinderInfo	     32 
	com.apple.ResourceFork	      0 
-rwx------@ 1 cdillahunty  staff        0 Apr 11  2008 Arial Narrow
	com.apple.FinderInfo	     32 
	com.apple.ResourceFork	      0

Using Big Sur to Access an existing file with a Resource Fork on an SMB share

1. Create an SMB file share on a Catalina (10.15.7) or Big Sur (11.2.3) Mac.
2. Use a Catalina Mac (10.15.7) to copy a file containing a resource fork to the SMB share.
3. Use “ls -al@“ to display the file and xattrs for the file. The resource fork will show up with the correct size.
4. Use a Big Sur Mac (11.2.3) to connect to the same share and file
5. Use “ls -al@“ to display the file and xattrs for the file. The resource fork will show up, but will be listed as Zero KB.

Comments

Resolved in macOS Big Sur 11.3 Update

While not mentioned in macOS 11.3 release notes, I've retested this issue on macOS 11.3 and it has been fixed.

By coan.dillahunty at May 6, 2021, 6:59 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!