Super User is a question and answer site for computer enthusiasts and power users. 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

I'm trying to access the Library folder on my OS Lion however all the tutorials related to this subject involves opening the user library however I would like to access the Library where the 'WebServer' folder is located when you enable web-sharing.

Whenever I try to access it it gives me the error that I am not allowed to see what's inside and I checked my status, saying that I am an admin but it still occurs. Why is this?

share|improve this question
    
Look at the properties of Library. Go to the folder and press Commans+I, look at the bottom where it says 'Sharing & permissions' (expand if necessary). Another although unlikely possibility - are you sure that you are trying to access the system-wide Library? There are per-user Library folders (although hidden in Lion), if you are trying to access Library for another user it won't work. – lupincho Apr 1 '12 at 15:55
    
Thank you for your response. Yeah, I am trying to access system-wide library. The strangest thing though, when I go to system references -> sharing and when I click on "Open website folder" I can access that folder. However when I simply go to my computer (cmd + shift + c) , click on my hard drive and click library it returns me an error message saying that I'm not allowed to list whats in there. – rolandbishop Apr 1 '12 at 15:57
    
Try something else -- go to Terminal.app (in Applications -> Utilities) and type "ls -laF / | grep Library" (without the quotation marks, note that there is space between / and |). This should give you the permissions. It is basically the same thing that you could see under 'Sharing and Permissions'. On my machine it is "drwxr-xr-x+ <snip> root wheel <snip> Library/'. The drwxr-xr-x+, root and wheel indicate permissions, owner and group. – lupincho Apr 1 '12 at 16:01
    
Run the Repair Disk Permissions option under Disk Utility. – user3463 Apr 1 '12 at 20:13

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.