• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk having problems with assigning chown's and chmod's

MrDragon

New Pleskian
Plesk having problems with either a setting in PHP or CGI

CPU GenuineIntel, Intel(R)Core(TM) i3-2130 CPU @ 3.40GHz
Version Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6
OS Linux 2.6.38.2-xxxx-std-ipv6-64

Update:

I really need help here.

Last time I reinstalled the system my techie found a setting in either the CGI, Php or HTTPD settings. It was a security setting that stopped me from uploading to the system through other software, for example the forums software SMF is not allowed uploads even if the files are set to the right level.

Someone out there MUST have noticed the same problem, and I could do with their advice, I've tried searching but I cannot word it right as I don't know enough on the subject to get the answer.
 
Last edited:
If it would be possible, I'm hoping that someone can help me with this.

Because my friend doesn't remember how he fixed it last time.

He believes it's still a security option in PHP or CGI, or it's possible something is missing. If I don't use FastCGI it states that the folder is not writable, when it in fact is. I've done chown and chmod so many times it's silly. If I use FastCGI it gives me a server error.
 
[2012-10-21 07:18:30]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:20:26]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:21:18]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:21:26]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:24:05]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:26:47]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:27:50]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:28:45]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:30:49]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
[2012-10-21 07:35:57]: uid: (10001/rainbowd) gid: (505/505) cmd: cgi_wrapper
 
Those are normal, since you said you can't upload then I need you to monitor the log while you are uploading files to see what errors pop-up.

Also, make sure ls -l /var/www/vhosts/domain.com/httpdocs/ files belong to:

yourftpuser : psacln
 
I kept an eye on it whilst uploading, but no errors we're seen.

My friend must have changed something, as the internal server error no longer shows. Instead on the SMF software it gives me the folder is not writeable issue again, but it is as I've set it god knows how many times.

The httpdocs is set to the webspace owner. But could you elaborate on the : psacln?
 
All things reporting in as owned by psacln (Group that is).

But I just realised this was alllll my derp. The database had configuration settings pointing to the old folder locations. Everything is working again! XD

But thanks anyway, your help was very welcomed :3
 
Back
Top