Sharing Any Folder

If the Public-folder method seems too simple and restrictive, then you can graduate to the “share any folder” method. In this scheme, you can make any file, folder, or disk available to other people on the network.

The advantage here is that you don’t have to move your files into the Public folder; they can sit right where you have them. And this time, you can set up elaborate sharing privileges (also known as permissions) that grant individuals different amounts of access to your files.

This method is more complicated to set up than that Public-folder business. In fact, just to underline its complexity, Apple has created two different setup procedures. You can share one icon at a time by opening its Get Info window; or you can work in a master list of shared items in System Preferences.

The following pages cover both methods.

Here’s how to share a Mac file, disk, or folder disk using its Get Info window.

The following steps assume that you’ve turned on →System Preferences→Sharing→File Sharing, as shown in Figure 14-5.

  1. Highlight the folder or disk you want to share. Choose File→Get Info.

    The Get Info dialog box appears (Figure 14-6). Expand the General panel, if it’s not already visible.

  2. Turn on “Shared folder.”

    Enter your administrator password, if necessary.

    OK, this disk or folder is now shared. But with whom?

  3. Expand the Sharing & Permissions panel, if it’s not already visible. Click the icon and enter your administrator’s password.

    The controls in the Sharing & Permissions area spring to life and become editable. At the bottom of the Info panel is a little table. The first column can display the names of individual account holders, like Casey or Chris, or groups of account holders, like Everyone or Accounting Dept.

    The second column lists the privileges each person or group has for this folder.

    Now, the average person has no clue what “privileges” means, and this is why things get a little hairy when you’re setting up folder-by-folder permissions. But read on; it’s not as bad as it seems.

  4. Edit the table by adding people’s names. Then set their access permissions.

    At the moment, your name appears in the Name column, and it probably says Read & Write in the Privilege column. In other words, you’re currently the master of this folder. You can put things in, and you can take things out.

    If you just want to share files with yourself, so you can transfer them from one computer to another, you can stop here.

    If you want to share files with other people—well, at the moment, the privileges for Everyone are probably set to “Read only.” Other people can see this folder, but they can’t do anything with it.

    Your job is to work through this list of people, specifying how much control each person has over the file or folder you’re sharing.

    To add the name of a person or group, click the + button below the list. The list shown in Figure 14-7 appears.

    Now click a name in the list. Then, from the Privilege pop-up menu, choose a permissions setting.

  5. Read & Write has the most access of all. This person, like you, can add, change, or delete any file in the shared folder, or make any changes she likes to a document. Give Read & Write permission to people you trust not to mess things up.

  6. Read only means “Look, but don’t touch.” This person can see what’s in the folder (or file) and can copy it, but he can’t delete or change the original. It’s a good setting for distributing company documents or making source files available to your minions.

  7. Write only (Drop Box) means that other people can’t even open the folder. They can drop things into it, but it’s like a mail slot: The letter disappears into the slot, and then it’s too late for them to change their minds. As the folder’s owner, you can do what you like with the deposited goodies. This drop-box effect is great when you want students, coworkers, or family members to be able to turn things in to you—homework, reports, scandalous diaries—without running the risk that someone else might see those files. (This option doesn’t appear for documents—only disks and folders.)

  8. No access is an option only for Everyone. It means that other people can see this file or folder’s icon but can’t do a thing with it.

  9. Close the Get Info window.

    Now the folder is ready for invasion from across the network.

It’s very convenient to turn on sharing one folder at a time, using the Get Info window. But there’s another way in, too, one that displays all your shared stuff in a handy master list.

To see it, choose →System Preferences. Click Sharing. Click File Sharing (and make sure it’s turned on).

Now you’re looking at a slightly different kind of permissions table, shown in Figure 14-8. It has three columns:

And now, having slogged through all these options and permutations, your Mac is ready for invasion from across the network.