Answer the question
In order to leave comments, you need to log in
How to make write permissions to a temporary folder?
File upload Error! No permission to write to the temporary folder (BX_TEMPORARY_FILES_DIRECTORY: /home/bitrix/upload/tmp/)
Uploading a file larger than 4Mb Error! No permissions to write to the temporary folder (BX_TEMPORARY_FILES_DIRECTORY: /home/bitrix/upload/tmp/)
File upload via php://input Error! No permissions to write to the temporary folder (BX_TEMPORARY_FILES_DIRECTORY: /home/bitrix/upload/tmp/)
found a solution that describes the following command:
1. Therefore, you need to correct the username for the site folders. In the case of VM Bitrix, you need to write in the SSH console:
find /home/bitrix/www -type f -exec chown bitrix:bitrix {} \;
find /home/bitrix/www -type d -exec chown bitrix:bitrix {} \;
2. Then, if it did not help to set the necessary rights to folders and files:
find /home/bitrix/www -type f -exec chmod 644 {} \;
find /home/bitrix/www -type d -exec chmod 755 {} \;
https://dev.1c-bitrix.ru/support/forum/forum6/topi...
But when entering this command, the same error is always written
no such file or directory
WHAT TO DO?
Answer the question
In order to leave comments, you need to log in
first you need to check if there is such a folder, and what user you have
bitrix:bitrix - are you sure that you have one?
it can easily differ, the bitrix user is mainly found if a virtual machine from Bitrix was installed, and if a site was installed without it, then the user can be very different, for me it is 500:500 on one project
Install some ftp program so that you can visually view users, site structure ... I really like winscp, there are no all sorts of filezila, find which one you like best and your issue will be solved easily
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question