Under the profile you wish to change, scroll to the Public Folder Sharing section and click Turn Off Public Folder Sharing or Turn On Sharing (default). Click Save Changes.
Follow these steps again as needed to turn on or off public folder sharing again.