Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

If I have this folder: /var/username/secret/ that is 770, then can a file in /var/username/secret/file that is 0777 be read/written by anyone on that same server (shared hosting)?

share|improve this question

migrated from Feb 6 '10 at 11:50

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

The issue is your directory permission: 770 won't allow 'others' to get access to the directory

share|improve this answer

Only user and group from "secret" directory can "CD" to it. So other users can't go inside the dir and can't use file.

share|improve this answer

Your Answer


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.