On the site under Joomla, I try to start the component, but he writes that he doesn’t have enough rights to read the file, but in the ftp manager I installed everything I could, 777. I was told by the support that the problem is that the processes on the server are started from one user, and folders and files belong to another.

Tell me how you can see the list of processes and their owner, as well as how to change it to another owner, with the help of which commands?

  • 777 if the third digit is 7 - then all users have the right to read / write / execute. On specifically the file that can not be read, the rights are also exposed? ps axu | grep 'процесс' ps axu | grep 'процесс' - find the process and the first column USER is the owner of the process. - jekaby
  • I say that 777 is set to all rights, I looked at the list of processes, where root and www-data users from which processes are running are there. What to do in this case, because the components are very necessary for the site? - Vladimir
  • Make sure you have the right permissions all the way to the file, in all folders. And then it would not hurt to lower them to the minimum number of workers - Mike
  • Add a user to the www-data group: sudo usermod -a -G www-data $(id -un) - Maxim Timakov
  • Yes, I'm saying that it's not about the rights to folders. Something in the server settings. Because before reinstalling the system, the rights were the same on the folders, and everything worked fine. What about processes, how to change the user from which they run? - Vladimir

0