Score:0

Permissions suddenly changed

jp flag

I've inherited a drupal 7.6 site with a broken css (styles were not loading). Here's what I've done so far:

-set sites/default/files, tmp and cache folder to 777. -flushed all caches

When this didn't work, I deleted the /files folder and created a new one which has done the trick.

I'm still getting "The file permissions could not be set on cache/normal/..." in recent log messages. in the cache folder, I'm seeing html being created but there are a lot of "boostfRVyMR" and similarly named files.

Is there other permissions to be changed?

Kevin avatar
in flag
That sounds like a different folder than the one you mentioned at sites/default/files.
Harv avatar
jp flag
sorry I shortened the path - I meant I deleted sites/default/files and created a new one in it's place
misterdidi avatar
de flag
Be sure that the server user having access to your drupal base folder (www/) is the same as the owner of the sites/default/files folder and subfolders.
Harv avatar
jp flag
that's interesting because it changes - the user for all files/folders is "XYZ" but some files/folders in sites/default//files including the .htaccess is "nobody". Is this an issue with Drupal or the web server?
Harv avatar
jp flag
I checked which user is running Apache by running this command ps aux | egrep '(apache|httpd)' all of the process are owned by "nobody" but all of the files are owned by "XYZ". I'm assuming this has been the cause.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.