Apple was the primary pc firm to make networked file sharing straightforward. Decades after introducing that characteristic on the Mac, it’s much less necessary in an period of cloud storage. Unless you’re on a company community–and infrequently even so–it’s simpler to push recordsdata to a central repository by copying them to a folder or quantity in your desktop that syncs. Cloud storage additionally bypasses community configuration points, just like the dread “double NAT,” which might forestall making file-exchange connections over the web.
Still, it’s regularly useful to permit entry to recordsdata saved in your Mac by different computer systems on a neighborhood community. Let’s have a look at what’s required to set it up.
Enable file sharing
Start with System Preferences > Sharing. This one-stop store for all networked providers that macOS features a checkbox for File Sharing. Enabling file sharing allows you to or anybody with an account on that Mac entry the pc’s file server utilizing account credentials and requiring no extra configuration. Anyone with an account with Admin beneath their account identify in Users & Groups can entry recordsdata throughout the startup and all mounted volumes. People with common person accounts can entry their dwelling listing and the Home folder’s Shared folder by default.
Apple discontinued its unique file-sharing software program, AFP (Apple Filing Protocol), in favor of the Microsoft-initiated SMB (Server Message Block). This permits an enormous vary of gadgets to hook up with a Mac that has file sharing turned on. You can see the historical past of Apple’s assist by choosing File Sharing within the Sharing choice pane and clicking Options. For the previous couple of releases of macOS, solely the “Share files and folders using SMB” checkbox seems, an odd alternative. But for a number of years, AFP and SMB had been individually selectable earlier than AFP disappeared.
However, that is additionally the place you may allow backward compatibility for Windows techniques that use an older model of SMB.
Configure file sharing
You have a number of choices for what you would possibly share and with whom:
Limit sharing to you and different folks with common and admin accounts on the Mac. That’s the default and requires no additional work.
Create shared folders that individuals with common accounts on the Mac can entry to create pooled native storage or a write-only drop field. (That’s the lowercase “drop box”: a spot to deposit issues.)
Create sharing-only customers, who can’t log right into a Mac or connect with it through a Terminal session; they’ll solely entry shared folders. (See “How to create a sharing-only user in macOS to limit access.”)
Add shared folders by clicking the + (plus) on the backside of the Shared Folders record. You can choose any quantity or folder. Remove a folder or quantity by choosing it and clicking – (minus).
Assign customers and permissions to shared folders by choosing the folder within the Shared Folders record after which modifying current permissions within the Users record. You can add customers teams by clicking +. (You may also take away sure customers and teams by choosing one and clicking “-“.)
The permissions subsequent to every person or group entry are the identical as discovered within the Finder:
Read & Write: All entry, together with deleting objects and including them.
Read Only: Retrieve something within the folder, together with nested objects.
Write Only (Drop Box): Allows a person to repeat a file to the vacation spot however not view it or every other contents of the folder.
No Access: Available just for Everyone to disable entry to all different customers and to visitor connections.
If the Guest User in System Preferences > Users & Groups has “Allow guest users to connect to shared folders” checked, visitor customers can entry any shared folder that has Everyone set to a worth aside from No Access. However, you can too explicitly disable visitor entry by Control-clicking a shared folder, selecting Advanced Options, and unchecking “Allow guest users.”
You may also use Advanced Options to allow networked Time Machine backups to a specific folder on a quantity. I clarify that course of in “How to set your Mac as a shared backup destination for Time Machine.”
A fast warning! With file sharing energetic, conceivably anybody anyplace on the planet might attain your Mac and act as a visitor person or attempt to log in. On most dwelling networks, ISP and router configuration make it almost or completely unattainable. Still, I counsel disabling or limiting visitor entry to keep away from sharing something you didn’t intend to with the world.
Connect to a Mac’s file server
From macOS, you may connect with a file server within the Finder. Open any Finder and look underneath the Locations record. Macs with file sharing or display screen sharing enabled seem there. (If you don’t see them, go to Finder > Preferences > Sidebar and test Bonjour computer systems.) Click any server after which click on Connect As, enter credentials, and choose an accessible quantity.
Some servers gained’t present up within the Finder, relying in your native community. Click the Network hyperlink within the Finder sidebar underneath Locations or select Go > Network (Command-Shift-Ok).
If you’ll want to enter a Mac’s tackle, select Go > Connect to Server (Command-Ok). You enter the tackle within the format smb://tackle, equivalent to smb://10.0.1.120, and click on Connect or press Return. A Finder window seems, simply as in the event you clicked a server within the Finder sidebar.
For Macs you can’t see through Bonjour or to hook up with a Mac from a Windows pc or different system, you will discover the Mac’s tackle in System Preferences > Network. Select any energetic interface within the left-hand record, and in the primary part of the pane underneath Connected the IP tackle will seem.
Ask Mac 911
We’ve compiled an inventory of the questions we get requested most regularly, together with solutions and hyperlinks to columns: learn our tremendous FAQ to see in case your query is roofed. If not, we’re all the time in search of new issues to resolve! Email yours to firstname.lastname@example.org, together with display screen captures as applicable and whether or not you need your full identify used. Not each query can be answered, we don’t reply to e mail, and we can’t present direct troubleshooting recommendation.