/usr/bin/sfltool Feature Set Regression in 10.13

Number:rdar://35722438 Date Originated:November 28 2017
Status:Closed Resolved:
Product:macOS + SDK Product Version:10.13
Classification: Reproducible:Always
/usr/bin/sfltool in previous versions of the OS offered a greater feature set than what is currently available in 10.13, specifically the ability to use sfltool to add custom bookmarks to a user's Connect to Server dialog via a script/CLI.

When provisioning users without resulting to hacks such as editing the User Template, it is beneficial to be able to able to make changes such as this via script. Without these options, customization options are limited, to the detriment of the user experience. 

Steps to Reproduce:
At the CLI, enter this command, replacing the generic values:
/usr/bin/sfltool add-item -n "Server Name” com.apple.LSSharedFileList.FavoriteServers "//path/to/server"

Expected Results:
In previous versions of the OS, the command would add a bookmark to the logged in user's Connect to Server (Finder > Go Menu > Connect to Server) dialog. 

Actual Results:
Under 10.13 (including 10.13.2 beta build 17C79a), the command is not run and the system returns the following usage error: “Usage: sfltool archive|list-info|list [options]”. The features present in older releases have been removed in 10.13.

10.13.2 17C79a


Response from Apple

This is a follow-up to Bug ID# 35722438.

Apologies, we do not plan to add back the feature. You will need to write a tool that does what’s needed.

We consider this issue closed. If you have any questions or concern regarding this issue, please update your report directly (http://bugreport.apple.com).

Thank you for taking the time to notify us of this issue.

By broccardo at Jan. 6, 2018, 1:46 a.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!