Ask Different is a question and answer site for power users of Apple hardware and software. 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

When I check the permission on my etc folder using the alt + i command, I am not able to check the permission. As if the file had no permissions at all.

This occured to me while I was trying to write some stuff in the hosts file.

I tried to manually chmod the file but I got an "operation not allowed".

share|improve this question

migrated from Nov 25 '11 at 14:23

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

Belongs on Super User? And did you try using sudo? – Austin Hyde Jan 10 '11 at 18:45

The /etc directory on a mac isn't a directory at all, it's a symlink (shortcut). It redirects to private/etc.

You won't be able to chmod the directory, because it belongs to the root user by default. If you want to chmod it you'll have to prefix the command with 'sudo' to run as the superuser.

Bearing that in mind, make sure you know what you're doing before you start playing around with system directories and their permissions.

share|improve this answer

You can use the old unix comand line chmod

chmod 777 ./folder

With 777 you permit your file or folder do all things for all peoples. Use

man chmod

to read the help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.