Public folder path on server permission 777 not allowed
Author: George Brunold
Visited 2513,
Followers 2,
Shared 0
My webhost does not allow the public folder path permission set as 777. the 777 is too hacker friendly. How can I change W-X5 Pro V12.0.8.29 to permission 755 or 554 the only codes allowed by my webhost.
Thanks for your support
regards George
Posted on the
I recommend changing the supplier.
If unsure depends on you the desicion, they have to allow so.
Hello George,
only the folder for the guestbook or that you set in the program for public is need the 777 permissions.
If your server doesn't set it, the only alternative is to change provider.
Thank you.
Author
Hi Ricardo,
Thanks for your advise... I have no folder called guestbook in the x5 generated upload.
Could you please specify exactly which folder has to be set to permission 777
I do not know which folder is responsible for the guestbook.
Please find a jpg attached with the folders of my website generated by X5 and that are uploaded to the server.
Hello George,
in step 3, in the Guestbook object, you need write the public folder for the comments, see my screenshot.
then connect to your server, create the folder with the same name and set the 777 permission.
thank you.
Author
Hi Ricardo,
My new website administrator has approached you with a specific question regarding 777 permissions. Apparntly you will not reply due to unvalid licence. Please answer the question to me asap, thanks. regards George
Copy of the question below:
I am failing the website test regarding the permissions necessary for your software to work.
To test to see if the problem was from my end, I recursively set all files on the server to 777. That is, everyone of them. (albeit for 15 minutes only).
I wanted to see if I would still receive the 777 fail error - I still received the error.
Therefore, this error cannot be attributed to me.
I have since changed the CHMOD permissions back to 755 for security.
Please, explicitly explain how to pass the website test without telling me I need to set certain files or folders to 777, including any files or folders you require your users of your software to manually create on the server.
Hello George,
The website automatic test tries to actually write a file in the folder set as "Public folder" in the software settings. If it fails, it means that the webserver does not allow the PHP script to write files in that folder.
Often, if you set the file permissions using an FTP client, they are set as "virtual". This means that the server is not actually changing the permissions for PHP.
You really need the 777 permissions if you want WebSite X5 (or any other software) to write files on your webhosting space.
If you cannot create a public folder, you can choose to save your guestbook data in a MySQL database as WebSite X5 has full support for it.
Thank you