Hello,

I've got a new install of Drupal 7 Beta 1, I copied over the CTools directory, and when I try to view the modules to enable it, I get this error message repeated 7 times on the top of the page, and ctools isn't listed at all in the list of available modules:

Warning: opendir(modules/ctools): failed to open dir: Permission denied in file_scan_directory() (line 1929 of /var/www/includes/file.inc).

Any ideas on what I may be doing wrong?

Comments

georgedamonkey’s picture

Status: Active » Fixed

Nevermind... I just had to fix the permissions of the module directory and it worked just fine.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

felixvang’s picture

how did you fix the issue? Can you share?

georgedamonkey’s picture

It's been a long time... I believe I changed the permissions of the files directory to 750 and that fixed it.

felixvang’s picture

thanks got it, it was 755

krisp1’s picture

Thanks goergredamonkey , changed module file permissions and everything fixed.

Justincletus’s picture

Issue summary: View changes

hai after I changed the file permission still the error remain same,Warning: opendir(sites/all/modules/imce): failed to open dir: Permission denied in file_scan_directory()

How do I fix it ?

mirgray’s picture

For this newbie, the issue was I misunderstood which directory it was complaining about the permissions on. I thought the issue was on /var/www/includes/file.inc . But it was sites/modules that needed fixing.

jorgemontoyab’s picture

Thanks georgedamonkey. That fixed my problem too!