File Share Services (fss For Mac
Recently in the, we learned how to as a local network alternative to sharing files in the cloud. In this piece, we will examine how to share files in the opposite direction: Yosemite sharing files with a Windows 10 machine.
So, if you wish to share your Mac OS X files with Windows 10 on your local network follow these steps. Change Mac OS X file share settings In System Preferences, open Sharing. Note the section of text below the Computer Name field. In this example screenshot, Yosemite is telling me that my machine can referenced on my local network as MacbookPro.local.
Next, select the folder you wish to share with Windows in the Shared Folders section, and ensure a user has Read & Write permissions enabled in the Users section. When you are finished noting the machine name, selecting shared folders and changing user permissions, click the Options button. A dialog windows opens, please ensure both Share files and folders checkboxes have been checked and a user account with read/write permissions is selected.
Drive mapping in Windows. Open Windows Explorer, right-click Network and select Map network drive.
The Map Network Drive window opens, select Drive letter and type the network name of your Mac in the Folder field. This is network name we found earlier in the Yosemite Sharing window. In this example I typed macbookpro.local in the Folder field and clicked the Browse button. If you wish to reconnect to your Mac every time you sign-in, check the Reconnect at sign-in box. Your Windows 10 machine is now able to 'see' your Mac's folders.
I selected my Glasskeys home folder inside the Browse for Folder dialog window. The folder selected is mapped to the drive letter chosen earlier - in my case Z.
Windows also needs to know how to connect to the shared folder as a Mac OS Yosemite user. So please keep in mind to enter the username and password of the Mac user with read/write permissions before clicking the OK button. I see a mapped drive Windows Explore now has a drive mapped to a folder found on our Mac OS X Yosemite machine! This article is published as part of the IDG Contributor Network.
Manage File Shares In OS X Yosemite Server File Services are perhaps the most important aspect of any server because file servers are often the first server an organization purchases. This has been changing over the past few years, with many a file being hosted by cloud solutions, such as Box, Dropbox, Google Drive, and of course, iCloud. But many still need a terrestrial server and for predominantly Apple environments, a Server app running on OS X Yosemite isn’t exactly a bad idea. There are a number of protocols built into OS X Yosemite Server dedicated to serving files, including AFP, SMB and WebDAV. These services, combined comprise the File Sharing service in OS X Yosemite running the Server app. Note: I’ve got another article looking into FTP a little further but those are basically what I’ll stick to here. File servers have shares.
In OS X Yosemite Server we refer to these as Share Points. By default:. File Sharing has some built-in Share Points that not all environments will require.
Each of these shares is also served by AFP and SMB, something else you might not want (many purely Mac environments might not even need SMB). Or if you have iOS devices, you may only require WebDAV sharing. Each share has permissions that Apple provides which will work for some but not all. In short, the default configuration probably isn’t going to work for everyone. Therefore, before we do anything else, let’s edit the shares to make them secure.
The first step is to create all of your users and groups (or at least the ones that will get permissions to the shares). This is done in Server app using the Users and Groups entries in the List Pane. Once users and groups are created, open the Server app and then click on the File Sharing service in the SERVICES list in the List Pane.
Here, you will see a list of the shares on the server. If you’re just getting started, let’s go ahead and disable the built-in share by clicking on Groups in the list of shares and then clicking on the minus button on the screen. As mentioned, shares can be shared out using different protocols. Next, we’re going to disable SMB for Public, simply as an example. To do so, double-click on Public and then uncheck the SMB protocol checkbox for the share. When you’ve disabled SMB, click on the Done button to save the changes to the server. Editing shares is really that easy.
File Share Services (fss For Mac)
Next, we’re going to create a new share for iPads to be able to put their work, above and beyond the WebDAV instance automatically used by the Wiki service. To create the share, first we’re going to create a directory for the share to live in on the computer, in this case in the /Shared Items/iPads directory. Then from the File Sharing pane in Server app, click on the plus sign (“+”).
At the browse dialog, browse to the location of your iPad directory and then click on the Choose button. At the File Sharing pane, double-click on the new iPads share. Note that there’s a new checkbox here called Encrypt connections. If you check this, you cannot use AFP and WebDAV. At the screen for the iPads share, feel free to edit the name of the share (how it appears to users) as it by default uses the name of the directory for the name of the share. Then, it’s time to configure who has access to what on the share.
Here, use the plus sign (“+”) in the Access section of the pane to add groups that should be able to have permission to access the share. Also, change the groups in the list that should have access by double-clicking on the name of the group and providing a new group name or clicking on the plus sign to add a user or group. The permissions available in this screen for users that are added are Read & Write, Read Only/Read and Write. POSIX permissions (the bottom three entries) also have the option for No Access, but ACLs (the top entries comprise an Access Control List) don’t need such an option as if there is no ACE (Access Control Entry) for the object then No Access is assumed. If more granular permissions are required then click on the name of the server in the Server app (the top item in the List Pane) and click on the Storage tab. Here, browse to the directory and click on Edit Permissions. As can be seen, there are a number of other options that more granularly allow you to control permissions to files and directories in this view.
File Share Services (fss For Mac
If you make a share a home folder, you can use that share to store a home folder for a user account provided the server uses Open Directory. Once a share has been made an option for home folders it appears in both Workgroup Manager and the Server app as an available Home Folder location for users in that directory service. Once you have created all the appropriate shares, deleted all the shares you no longer need and configured the appropriate permissions for the share, click on the ON button to start the File Sharing service. To connect to a share, use the Connect to Server dialog, available by clicking Connect to Server in the Go menu. A change that happened back in Mavericks is that when you enter an address, the client connects over SMB by default (which is even better now that those connections can be encrypted). If you’d like to connect via AFP ‘cause you’re all old school, enter afp:// in front of the address and then click Connect. The File Sharing service can also be controlled from the command line.
Mac OS X Server provides the sharing command. You can create, delete and augment information for share points using sharing. To create a share point for AFP you can use the following command: sharing -a -A So let’s say you have a directory at /Shares/Public and you want to create a share point called PUBLIC. You can use the following command: sharing -a /Shares/Public -A PUBLIC Now, the -a here will create the share for AFP but what if you want to create a share for other protocols? Well, -F does FTP and -S does SMB. Once created you can disable the share using the following command: sharing -r PUBLIC To then get a listing of shares you can use the following command: sharing -l You can also use the serveradmin command to manage file shares as well as the sharing service.