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

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 stackoverflow.com Feb 6 '10 at 11:50

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

2 Answers 2

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

 
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.