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 would like to create a directory /home/dotancohen/inbox/ in which other users on the system could write files to. I do not want them to have read or write access to /home/dotancohen/. I tried setting /home/dotancohen/inbox/ to permissions 777 but as /home/dotancohen/ is permission 700 they cannot access the inbox at all.

Is there any way to create this universally-writable inbox?

share|improve this question
up vote 1 down vote accepted

You need to set your home directory to 0711 so that others can descend into it. Note that doing all this won't automatically give your user access to those files though. Consider a email-like system instead.

share|improve this answer
Thank you. I set /home/dotancohen/ to 711 and /home/dotancohen/inbox to 777. Now my home directory is hidden but other users have full access to the contents of ~/inbox/. – dotancohen May 1 '12 at 10:51

you can create symlink in the directory available to all of the users pointing to /home/dotancohen/inbox/

ln -s /home/dotancohen/inbox/ /tmp/inbox 

each user will be able to write to /tmp/inbox - it has been used for testing purposes your location should be different

share|improve this answer

You must log in to answer this question.

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