|
Hello, I got a problem when I write data into directories with SSH/FTP account (not main account). I can chmod directories on FTP with this account but the PHP files I uploaded have no write access to them. The only way to get write access is that creates and chmod directories on app's root directory with main account, and I move them into the correct path with my FTP account. I know PHP is running with main account but is there any way to get write access directly with PHP files which upload by FTP account? Thanks very much :) Sorry for my poor English. |
|
When giving the secondary SSH/FTP user the access to your PHP application, have you used the methods described in our ACL documentation, here? Specifically, the command Thanks, I ask the main account user to do all 7 steps and solve this problem =) BTW, some steps will get system notices "This operation are not allowed." (in Chinese, I'm not sure what sentence it is in English) but the problem still be solved, maybe those notices are cause by the directories or files which be created by not-main account before, I guess. Right - those are "permission denied" errors, caused by files created by the non-main account. You can open a support ticket and we can |