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 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

2 Answers 2

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

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.