WebSite X5Help Center

 
Cliff Rose
Cliff Rose
User

Server folder with write access 0750  en

Автор: Cliff Rose
Просмотрено 1863, Подписчики 1, Размещенный 0  

when I run X5 Pro I get the test failure

  • Folder on server with write permission (/public_html/)

on my domain service provider, under file management, the /public_html/ folder is set to 0750

all other folders under public_html are set to 0755 while files under public_html are set to 0644

if I open the folders under public_html, subsequent files are set to 0644

despite this I get the write permissions error above.

what permission is X5 Pro looking for    0750 or 0755 or something else.

are subsequent permissions in folders and files correct

Размещено
3 Ответы - 1 Корректно
Cliff Rose
Cliff Rose
User
Автор

just adding to above, I changed the public_html file permission to 0777, uploaded the web site with no write permissions failure, web site did not work, got onto home page but no further.

changed to 0755, uploaded file and gave write permissions failure, ignored this and continued to upload to website, web site works and seems fine.

by default, when set to 0750, it returns a write failure???

Читать больше
Размещено От Cliff Rose
Paul M.
Paul M.
Moderator

Hello Cliff,

In Step 1 Settings > Advanced > Data Management > Writing Access Folder what do you have entered in the field marked 'Server folder with write access'?

If your WebSite X5 project resides in the 'public_html' folder on your server, then there should be nothing at all entered in that field.  I suspect that you have 'public_html' in that field at the moment, but that won't work as WebSite X5 will then expect to find a subfolder of that name inside the parent folder of the same name.

Just leave the field empty, unless you prefer to designate a specific subfolder within your WebSite X5 root folder, which will be for write access purposes only.  If you do decide to do this then name that directory something other than 'public_html'.

As regards file permissions, 750 is fine for your WebSite X5 root, 755 is fine for the subfolders inside the root, and 644 for the files.  Any specially designated write access folder should have permissions set at 755.

I think your current issue is a result of WebSite X5 looking for a non-existent subfolder, rather than anything to do with the file permissions.

Kind regards,

Paul

Search the WebSite X5 Help Center

Читать больше
Размещено От Paul M.
Cliff Rose
Cliff Rose
User
Автор
Paul M.
Hello Cliff, In Step 1 Settings > Advanced > Data Management > Writing Access Folder what do you have entered in the field marked 'Server folder with write access'? If your WebSite X5 project resides in the 'public_html' folder on your server, then there should be nothing at all entered in that field.  I suspect that you have 'public_html' in that field at the moment, but that won't work as WebSite X5 will then expect to find a subfolder of that name inside the parent folder of the same name. Just leave the field empty, unless you prefer to designate a specific subfolder within your WebSite X5 root folder, which will be for write access purposes only.  If you do decide to do this then name that directory something other than 'public_html'. As regards file permissions, 750 is fine for your WebSite X5 root, 755 is fine for the subfolders inside the root, and 644 for the files.  Any specially designated write access folder should have permissions set at 755. I think your current issue is a result of WebSite X5 looking for a non-existent subfolder, rather than anything to do with the file permissions. Kind regards, Paul Search the WebSite X5 Help Center

Hi Paul, thank you for your prompt reply, your assumption was correct, I did have public_html in the box "server folder with write access"

I have reset the public_html folder to 0750 on CPanel, reloaded the site and no errors reported.

Thank you very much for you assistance

Have a good evening

Cliff

Читать больше
Размещено От Cliff Rose