Answer the question
In order to leave comments, you need to log in
How to change directory permissions in ISP Manager?
I work with the panel through the API. I download the archive with the site and unpack it with the file.extract function. The site successfully rises, but it is not possible to upload new photos through the admin panel, because. no write permissions to the /img/ directory, which was unpacked from the archive. The owner of the root directory extracted from the archive. PHP, as I understand it, works from under a different user.
It is necessary somehow without entering the panel, through the API, change the rights to the specified directory. Is there such a possibility or another solution to the problem I described?
Thanks in advance for your help with the answer!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question