Linked Questions

2 votes
1 answer
4k views

What's the best file permission to drupal's files and directories? [duplicate]

Possible Duplicate: What are the recommended directory permissions? I want to know what's the best file permission under a linux system to my drupal's files and directories including the files ...
user avatar
3 votes
0 answers
1k views

How to set up permissions while using dso as PHP handler? [duplicate]

I'm having all kinds of troubles while setting up my site online. I can't upload new modules and if I try caching this is what I get: Warning: file_put_contents(temporary://filedwZLkV) [function....
user avatar
  • 415
0 votes
1 answer
700 views

Correct server permissions [duplicate]

Possible Duplicate: What are the recommended directory permissions? I have recently installed a site on a debian LAMP server. I've finally got to work by changing the permissions to - /sites ...
user avatar
0 votes
1 answer
137 views

What file permissions and ownerships are appropriate for the files directory and subdirectories? [duplicate]

Possible Duplicate: What are the recommended directory permissions? I've scoured the net, and it seems that everyone has different methods of doing this and I just want to get a quick straight ...
user avatar
1 vote
0 answers
82 views

Accidentally changed file permissions [duplicate]

In order to change a settings file, i accidentally replaced all files and folders permissions in folder "sites/default" to 777. Do i have to change all files and folders to 555?
user avatar
  • 141
0 votes
1 answer
78 views

What is the correct way to setup Drupal file permissions on a VPS? [duplicate]

I am testing a Drupal site on Google Compute Engine. I have a problem with file permissions. I would like to be able to access and edit my files trough SFTP and still have Drupal functioning as it's ...
user avatar
0 votes
0 answers
49 views

What's the best files and directories permission for shared hosting [duplicate]

i'm using a shared hosting for my Drupal Website and I'm having some security troubles especially with folders and files permissions. So after some researches in the official documentation and some ...
user avatar
0 votes
0 answers
18 views

Drupal script cannot change folder and file permissions in my VPS [duplicate]

Drupal always change permissions of /sites/default and settings.php. Now I move it in my VPS and maybe I misconfigure user www-data access but i cannot remember what exactly. Now Drupal does not ...
user avatar
  • 509
9 votes
7 answers
34k views

The directory sites/default/files exists but is not writable and could not be made writable

We've recently had a few problems with our server, which seem to have been all patched up by myself, my host, and the cPanel team. However, since then we have been having problems with sites/default/...
user avatar
  • 1,791
10 votes
5 answers
35k views

Correct permission for site, default and files folders?

I just need to know if these permission are corrects: site --> 775 site/default -->775 site/default/files --> 775 site/default/setting.php --> 555
user avatar
  • 6,127
10 votes
4 answers
12k views

Unable to generate the derived image

Today I uploaded my site to the server, and I get errors like the following: Unable to generate the derived image located at public://styles/sponsor_image/public/TerraThermaSponsorLogo.png. Image ...
user avatar
5 votes
4 answers
2k views

Malware on D7 website - Blacklisted by Google

I want to tell you about the malware attack to my Drupal website. Not just for your suggestions but also to create something helpful to anybody tha could suffer for the same problems. Well... INITIAL ...
user avatar
16 votes
1 answer
6k views

What are the most appropriate system permissions for sites on shared hosting?

Although the Drupal site goes into great detail about permissions and security, there are only vague/unclear references to shared hosting. From a Drupal point of view, what is the most secure set-up (...
user avatar
6 votes
2 answers
3k views

Division by zero in theme_image_style_preview after moving to production server

Warning: Division by zero in theme_image_style_preview() (line 804 of /var/www/html/modules/image/image.admin.inc). Warning: array_intersect_key(): Argument #1 is not an array in ...
user avatar
  • 1,234
1 vote
3 answers
8k views

How to set up permissions for the private files directory?

I'm trying to set up the private files directory and I'm getting the following error. The backup file could not be saved to 'private://backup_migrate/' because the directory could not be created ...
user avatar
  • 141
1 vote
3 answers
3k views

File Transfer failed, reason: Cannot create directory /var/www/html/modules

I have installed Drupal 8 on EC2. I am trying to install a module (simple_sitemap-8.x-2.5.tar.gz). When I use the interface, I get a failed transfer message: I have chmod a+x the directory (which ...
user avatar
2 votes
3 answers
4k views

Access denied on image styles files on Drupal 7.34 [closed]

As you can see in the screenshot below, images that are processed through image styles aren't showing up and when trying to display them through their urls, we get a 403 access denied. It's a fresh ...
user avatar
  • 311
1 vote
1 answer
894 views

Are there two identical .htaccess files in a Drupal installation?

I run a Drupal Commons site and I'd like to set it up on a new server. When I set this particular site up, I need to replace Drupal's base .htaccess file so that it runs in my server environment. ...
user avatar
  • 361
2 votes
4 answers
2k views

"Class 'PHPMailer' not found in /home/mysite/www/sites/all/modules/phpmailer/includes/phpmailer.class.inc on line 12" [closed]

I tried to work on my security parameters on drupal... I went into the security page on drupal and chmod 664 the following folders: themes, modules, cache, site, profiles and include. Simultaneously, ...
user avatar
  • 57
1 vote
1 answer
1k views

Folder permission errors on public:// after upgrade to 8.8.5

I'm new to this community, and asking for help because I'm stuck on this problem, and cannot go past. I've also tried asking on StackOverflow, but with no luck so far. My current setup: Drupal 8.8.5 ...
user avatar
  • 113
0 votes
2 answers
969 views

Migrating to XAMPP local install - Configure the temporary directory

I have copied a site I have on a VPS down to run from XAMPP on my local machine. When I restore the site using Backup and Migrate I get the error message on all pages of the site: The specified ...
user avatar
0 votes
1 answer
577 views

Another question on Drupal files folder permissions and security

So there are the following two posts (among others) that say 755 is okay for the sites/default/files directory: What are the recommended directory permissions? Confusion about files permission I ...
user avatar
  • 722
-2 votes
2 answers
498 views

Linking a pdf file within a paragraph

I don't have Drupal installed on my computer (do I have to?). I access the admin site to make changes. I need to add a PDF file that describes an event. In order to do this quickly, I simply inserted ...
user avatar
3 votes
1 answer
121 views

Should all files/folders in an installation be owned by the web server user?

As in the title, should all files/folders in a Drupal 8 installation be owned by the web server user, e.g. the default www-data user for Apache? As far as I know, the answer is yes at least in ...
1 vote
0 answers
225 views

Thumbnails are not created in Drupal 7

When selecting an image to a user profile, the original is saved in files/pictures, however no thumbnail is created. (also other app like Node-Gallery fail to create thumbnails). Directories where ...
user avatar
1 vote
1 answer
96 views

What linux user accounts should be created prior to Drupal 7 install?

When preparing to install Drupal 7 on a clean linux installation (Centos 7 in my situation), what linux user accounts should be created? I ask this question because I seem to be having problems with ...
user avatar
  • 47
-2 votes
1 answer
113 views

Not able to access uploaded images in AWS

When we upload an image using the URL 'https://website.com/file/add' , the image is getting uploaded. While uploading, we have chosen the destination as ' Public local files served by the webserver' ...
user avatar
  • 1
-1 votes
1 answer
67 views

video embed field module folder path

I have placed the video embed field module in the location sites/all/modules/contrib/video embed field. Now I have problem with generating youtube thumbnail.Is that path I uploadwed the module is ...
user avatar
0 votes
0 answers
29 views

Configuring a public file directory & sub-directories

I'm doing some configuration updates to my site and I had a question regarding the permission configurations. I've setup a directory on the base level of site titled "publicuploads" which I've added ...
user avatar
  • 225