The Mac Observer

Setting the Ownership of a Shared Mac Disk

TMO Talk (2)

HDDs, SSDs or Flash drives connected to a Mac can have their ownership relaxed when the drive is intended to be removed and shared with others. Here’s how and why to change the setting.

First, note that the ownership of all files and folders is restricted on the boot volume, which is owned by root. If you’d like to verify this, you use do the following:

  1. Open the terminal app
  2. enter: cd /Volumes
  3. enter: ls -la

In my case, the internal boot drive, Altair, is owned by root. That’s necessary to enforce UNIX protocols for access and permissions by multiple users.

Terminal view of /Volumes

Terminal results for /Volumes

If you’d like to share an external drive with others, however, this UNIX protocol can get in the way when the drive is mounted on another Mac. The solution is to set a flag to ignore ownership concepts (but not permissions) on the drive. That flag is found in the Get Info (CMD-I) box for the drive at the very bottom. (Note you may have to authenticate with an admin password if the padlock has this setting locked.)

get Info for drive

Bottom Part of Get Info box for a drive

In fact, when you check this box, special UNIX flags are set such that whoever mounts the drive sees himself/herself as the owner. It’s pretty neat. Note, however, the originally set permissions for that owner remain intact. So if the (floating) owner has only read-only permission for a file, that will remain in force for anyone who mounts the drive. Of course, as owner (and possibly admin user) those permissions can be altered.

If the drive is the boot drive or a Time Machine drive, you won’t have the option to set this flag.

If the flag is not set, the drive will show up in the terminal as owned by root. If you set the flag, it will show up in the terminal as owned by you. (See the first screen shot above.) Note that if you’ve installed a backup version of Mac OS X on a drive and expect to boot from it, DO NOT SET THE FLAG.

In summary, if you have an external drive you expect to share with others or move from Mac to Mac, it’s helpful to set the “Ignore ownership on this volume” flag to make copying files to and from the drive seamless. Bootable drives should never have the flag set.

Post A Comment or Log-in. Need an account? Register here.

2 Observer Comments

A few clarifying comments ...
1. ownership is enforced by default on “internal” volumes. If you have a Mac Pro with extra disks, ownership will be applied to them. Same is true if you have partitioned a single disk in, say, an iMac. You have one disk with two volumes, and ownership is enforced on both volumes.

2. Ownership is *always* enforced on the boot volume. Even if it’s an external disk. Don’t mess with permissions on any of the system files of a disk you want to boot from. If you do it often becomes unbootable very fast.

3. External disks seem to have the “ignore” setting by default. I haven’t checked what happens if you take a disk from external to internal, though. I think it becomes “checked” unless you’ve changed the default

   Actions Paul Bogle said on March 12th, 2010 at 6:24 PM:

Excellent info. Thanks.

Post A Comment or Log-in. Need an account? Register here.
 

Recent Headlines - Updated February 14th

Tue, 1:56 PM
Apple Stock Watch - Peter Misek: Apple Will Initiate Dividend in 2012
1:20 PM
Deal Brothers - 13” MacBook Pro 2.4GHz Dual-core Intel i5:  $1,019
12:45 PM
In-Depth Review - Bookle: A Friendly EPUB Reader for the Mac
11:30 AM
Apple Stock Watch - Reminder: Apple Streaming Tim Cook Speech Today
10:39 AM
News - BYOD Trend Could Open Door to More iPhones, iPads in Workplace
9:54 AM
News - DOJ Also Approves Patent Acquisitions By Consortiums Involving Apple
9:36 AM
News - DOJ Signs Off on Google’s Motorola Acquisition
8:55 AM
Rumor - Apple Said to Be Testing Smaller iPad, 4G-Capable One
Mon, 10:30 PM
News - Apple to Live Stream Tim Cook’s Goldman Sachs Speech
8:14 PM
News - Chinese Authorities Seize Apple iPads in Trademark Dispute
6:26 PM
News - Apple Tops Harris Reputation Poll with Record Score
5:33 PM
Mac Geek Gab Podcast - MGG 381: Mac Internet Recovery, HTML on iPad, iDevice Syncing, More!
 

The Mac Observer Reader Specials

  • TypeStyler 11 is now in the Mac App Store!! -- Special Introductory Price of $59.95!! -- To Buy From The Mac App Store Click Here Now!! Or buy direct from Strider Software.
  • Mac RAM Upgrades: MacBook Pro 16GB kits $475, 8GB Kits for $119.99! iMac 16GB RAM Kits (4x 4GB) for $229.99! Mac Pro Memory 32GB Kit for $399.99, 64GB Kit for $889.99! Mac Hard Drives 2TB Seagate SATA II for $249.99! Click Here!
  • Poker Mac If you're using a Mac, then you've gotta check out Online Poker Mac. This mac poker and online casino mac site actually does the unthinkable, it actually rewards!

Apple Stock Quote (AAPL)

Loading...

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal