Sample Header Ad - 728x90

Ubuntu 20.04 upload folder permissions

-1 votes
1 answer
75 views
Server (Ubuntu 20.04) has UploadFolder, so anyone could upload. UploadFolder permissions are as follows drwxrwsr-x 4 root www-data While uploading, the script is creating sub-folder and sub-subfolder inside UploadFolder. The uploaded file should be landed in sub-subfolder. Everything is working as supposed to be. As a result, on the uploading attempt, server receives subfolder and sub-subfolder with permissions as follows accordingly drwxrwxrwx 3 www-data www-data drwxrwxrwx 2 www-data www-data So, as far as I understand, file should be uploaded, but it's not. The script by itself is 100% good, since it does the job on the another server. What is wrong here? How to make upload works?
Asked by Mary N (1 rep)
Jul 8, 2024, 01:46 PM
Last activity: Jul 8, 2024, 02:15 PM