I want to restrict access to certain directories to my ssh users but allow them to read files by known path from there(mostly it's meant to be done by applications). How is that possible? Are there easy ways? Thank you.

link|improve this question
feedback

2 Answers

up vote 3 down vote accepted

Shouldn't be enough to chmod -r /certain/directories?

link|improve this answer
thanks that should do the trick! – user34520 Apr 17 '10 at 23:30
feedback

Directories have to have +x permissions in order of someone to read files from within via exact path.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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