Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an external hard drive connected to my Mac OSX ML box. I wanted to setup a web server to access files on it, but the permission on all files and directories on the drive are "rwx" for the owner which is my local admin, and the group is the "staff" group. I need the files readable by the apache user _www and group _www, I was trying to set all files to be sudo chown -R _www:_www /Volumes/raid_mirror/WebDAV, but this doesn't do anything (gives no errros, just has no effect.) I tried chaning the group using "chgrp" to _www, but that won't work either, it gives me no errors and user and group remain the same.

share|improve this question
up vote 0 down vote accepted

OS X ignores ownership on external drives by default (on the theory that they probably came from some other computer with completely different accounts). You can change this in Finder by getting info on the volume and deselecting "Ignore Ownership on this Volume" (see Apple support document #PH10670, but reverse the process), or in Terminal with sudo diskutil enableOwnership /Volumes/whatever.

share|improve this answer
thanks so much, I was looking for the terminal commands ... – BarclayVision Feb 8 '14 at 14:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .