[support] Why doesn't Drupal sees the 'files' folder?

ken ken at gordiandata.net
Tue Jun 6 12:35:32 UTC 2006


> On Monday 05 June 2006 14:02, dondi_2006 wrote:
>> > > * creating that directory, with the same owner and group as
>> > > settings.php
>> >
>> > This is probably your problem. For a directory to be considered a
>> > directory, it MUST have execute permissions. Common configurations are
>> > 775 or -drwxrwxr--, depending on how your control panel visualizes it.
>>
>> the directory has permissions 755, owned by the www server user; isn't
>> it
>> enough? Also: must it be in the drupal installation root or in (for
>> virtual
>> hosting) drupalroot/sites/virtualdomain_1/files ??
>>
>> D.
>
> The files directory should be under where Drupal is installed.  Vis, at
> the
> same level as the sites, database, modules, and themes directories.
>
> (I think you're supposed to be able to get it to work inside a
> site/something/
> directory, but I've never actually gotten it to work. <g>)
>
> --
> Larry Garfield			AIM: LOLG42
> larry at garfieldtech.com		ICQ: 6817012
>
> "If nature has made any one thing less susceptible than all others of
> exclusive property, it is the action of the thinking power called an idea,
> which an individual may exclusively possess as long as he keeps it to
> himself; but the moment it is divulged, it forces itself into the
> possession
> of every one, and the receiver cannot dispossess himself of it."  --
> Thomas
> Jefferson
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>

You also have to give ownership to apache so:
chown -R apache.apache /var/www/html/drupal/
chmod -R 755 /var/www/html/drupal/sites/www.virtualdomain.com/files

Cheers!
Ken




More information about the support mailing list