Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Simple permissions question.

I want the www user to have read write access to a subfolder in my home folder. Obviously, I want to be able to use it too!

I know I can execute:

sudo chown -R www:www /Users/myusername/subfolder

But I fear that that will mean that www owns it, rather than me. How do I make this work?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Change the group ownership and not the user.

sudo chown -R :www instead of sudo chown -R www:www. Note that the colon stays.

share|improve this answer
1  
chgrp -R www also works for changing group, and has simpler syntax. –  Avada Kedavra Sep 23 '10 at 21:05
add comment

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.