WebSite X5Help Center

 
Allan Galvão
Allan Galvão
User

Folder permission 777 on hosting - what the hell do you do with that?  en

Autore: Allan Galvão
Visite 619, Followers 1, Condiviso 0  

Hello gentlemen, how are you?

Need help. After the latest updates to WebsiteX5 PRO, when I try to upload the website, this error message constantly appears in the integrated FTP manager:

"Public folder path on server (/httpdocs)."

I use Plesk to do my hosting. Even after ignoring this message and uploading the files, when I enter the hosted site's administration panel, a message appears in WEBSITE TEST stating:

FAIL
Ask your hosting provider for the writable folder path. This folder must have its permissions set to 777.

However, for security reasons we should NEVER give FULL CONTROL permission to any folder on the hosting server. Even so, inside the folder (/httpdocs) we have several other folders. In which of these folders does websiteX5 PRO REALLY need to give 777 permission? It would be irresponsible to give permission to the entire folder.

Thank you for any suggestions or comments that may help resolve this situation.

Postato il
4 RISPOSTE - 1 UTILE
Claudio D.
Claudio D.
Moderator
Utente del mese IT

some services require a folder with write permissions.
for example if you don't use DB, comments on file, dynamic object on file, etc, etc.

On many hosts it is already provided as a default and is called
"public"


If you don't use these services you can not put it and ignore the error when exporting.


STAFF will be able to tell you more and better.


To specify it, You simply say in the project which folder you want it to be used as a write folder.
You do it from here:

Leggi di più
Postato il da Claudio D.
Incomedia
Eric C.
Incomedia

Hello Allan,
keep in mind that you do not need to give full access to the entire folder.
You can create a subfolder inside of the root directory, and then specify the name of that folder in the "Data management" tab, this way only that specific folder will have 777 access as needed for the writing of files in it.
Some providers by default have a folder of this type, as Claudio mentioned.

Eric

Leggi di più
Postato il da Eric C.
Allan Galvão
Allan Galvão
User
Autore

Hello, thank you very much gentlemen.

I understand perfectly! I'm going to access the server now and provide this folder.

Note: I suggest that the development team better signals this information in the software, as it is precious and I imagine how much incidents can be avoided. On another occasion, it was very difficult to find information about errors in the control panel until I discovered that I should disable display_errors in PHP. A client stopped closing with me because of the messages when I went to demonstrate the panel. There could already be advanced guidance on these issues in the knowledge base: https://guide.websitex5.com/en/support/solutions

God bless you and thank you very much once again.

Galvao.

Leggi di più
Postato il da Allan Galvão
Allan Galvão
Allan Galvão
User
Autore

Hello gentlemen, as a contribution to the community, I leave here a record of how the problem was resolved.

It was necessary to enter the full path, the relative path is not enough, even the public folder with full control or 777 permissions.

D:\Inetpub\vhosts\xyz.com\httpdocs\public_folder

A big hug to everyone and gratitude for the help.

Galvao.

Leggi di più
Postato il da Allan Galvão