Jump to content

Warnings after moving attachment, templates and download directories


Recommended Posts

After change directories attachments, templates and downloads from whmcs root to a hosting root /home/username/

using this instructions https://docs.whmcs.com/Further_Security_Steps#Secure_the_Writeable_Directories

Still appears this warnings:

 
Quote

 

Lax Permissions Check

The following directories are owned by a different user then is executing WHMCS:

  • downloads
  • attachments

You can learn more about this in our documentation.

 

 

and this:

 
Quote

 

Using Default Paths
Using custom paths for some parts of WHMCS enhance security. Your installation is still using the following default paths:
  • downloads
  • attachments
For more information refer to our Further Security Steps

 

 
I've already change permissions 400 to configuration file and 755 to those directories
 
Update: If i change configuration.php permissions to 440 or 444 the warning dissapears but goes to red section "Needing Attention"
 
 
Edited by EduardoP737
Link to comment
Share on other sites

Are you using 7.7?   If so, I believe those two are managed in the admin -> setup area vs the configuration file. 

The first error on permissions mentioned ownership and so you would want to check the file ownership is your user and not like httpd / apache and keep permissions either 400 or 600. 

Link to comment
Share on other sites

7 minutes ago, steven99 said:

Are you using 7.7?   If so, I believe those two are managed in the admin -> setup area vs the configuration file. 

The first error on permissions mentioned ownership and so you would want to check the file ownership is your user and not like httpd / apache and keep permissions either 400 or 600. 

Yes, I have 7.7.1, where is that section you said? I mean, set up area. I was looking for in General Configuration, in admin section.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated