Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 at 14:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.