Reputation: 267
My copy of Intellij IDEA CE 12.0.1 (Build 123.94) can't access /usr/local
. I scoured the internet and no one else had this problem before. I know that it has something to do with folder permissions because IDEA can access the folder when I ran using sudo. My workaround was to match the folder permissions to a folder accessible to IDEA, but it didn't resolve the issue. The current permissions are as follows:
$ drwxr-xr-x@ 25 sergeykoulikov staff 850 14 Dec 12:24 /usr/local
Which is almost the same as my Inbox folder, which IDEA can access.
$ drwxr-xr-x 10 sergeykoulikov staff 340 12 Jan 17:05 /Users/sergeykoulikov/Inbox
What am I missing? Thank you for your help in advance.
Upvotes: 2
Views: 3169
Reputation: 126028
The question doesn't have enough information to give a specific answer, but I can point you at things to investigate. First, the "@" after the permissions on /usr/local indicates it has extended attributes, and maybe also an access control list (essentially, extended permissions); it's also possible the folder may have flags set, which can change its behavior. To see all of these things, use ls -ldeO@ /usr/local
If that doesn't point you at the problem, clarify what you mean by "access". Exactly what is IDEA doing in the two folders? Is it doing (/trying to do) the same thing in both folders? Is it trying to access the files inside the folders, and if so are the permissions on the files the same and/or is there a file that's present in one folder but not the other that's causing the difference?
Upvotes: 1