Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 have noticed that some files in my home directory have read and write permissions for group and even other.

If I am the only person who I want to give access to my machine, is there any reason to enable group or other permissions for files or directories?

share|improve this question
up vote 4 down vote accepted

It depends on the file or directory.

For example, some web server setups allow the machine's users to publish files as http://server.name/~username, with the files typically living in that user's subdirectory. httpd will probably need execute permissions on the directory containing the files and all of the directories above it in the path, due to the way it processes URLs. In other words, if you have ~username/public_html set to 777, but ~username is 700, Apache probably can't serve the files.

The broader answer to the question requires you to consider all the daemons running in the system. They typically do not run as either root or your user, so they do not automatically have permissions for any files in your directory unless given them explicitly.

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.