• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

problems permissions, users and groups Apache

Manuel_Caramia

Regular Pleskian
Hi,
Yesterday I try this command: sudo chown -R /var/www/vhosts
after this fastcgi doesn t work. I have several problems with apache e and so on. I have tried bootstrapper repair, apache works, fastcgi doesn t work and if one user try to modify a file with ftp It doesn t work. Can you help me to solve? Thank you very very much.
 
I have tries this comand
/usr/local/psa/bin/repair --restore-vhosts-permissions
but users doesn t modify files with ftp and I believe that users and gropus are work because they are "apache"
 
This simple command should list the group and users respectively:

Code:
ls -l /var/www/vhosts/
 
[root@orderhosting root2]# ls -l /var/www/vhosts
totale 68
drwx--x--- 5 allergol psaserv 4096 10 nov 20:57 xxx.it
drwx--x--- 5 azaleacs psaserv 4096 2 gen 07:31 xxx.it
drwx--x--- 5 bocaciit psaserv 4096 27 nov 16:21 xxx.it
drwxrwxr-x 10 apache apache 4096 28 mag 2014 chroot
drwxrwxr-x 5 apache apache 4096 26 mag 2014 default
drwx--x--- 5 elephant psaserv 4096 31 mag 2014 xxx.it
drwx--x--- 5 fratelli psaserv 4096 29 mag 2014 xxx.it
drwxrwxr-x 7 apache apache 4096 28 mag 2014 fs
drwxrwxr-x 2 apache apache 4096 28 mag 2014 fs-passwd
drwx--x--- 7 ipasvibr psaserv 4096 26 gen 19:17 xxx.it
drwx--x--- 5 lamatita psaserv 4096 21 nov 07:08 xxx.com
drwx--x--- 5 lardomin psaserv 4096 13 feb 21:47 xxx.com
drwx--x--- 22 orderhos psaserv 4096 21 gen 15:37 xxx.it
drwx--x--- 6 sanvitoi psaserv 4096 10 feb 15:46 xxx.it
drwx--x--- 5 sitipers psaserv 4096 25 gen 17:25 xxx.com
drwxrwxr-x 23 apache apache 4096 13 feb 21:47 system
drwx--x--- 13 tuttoaff psaserv 4096 30 mag 2014 xxx.it

I have written "xxx" for privacy.
with this settings my users doesn't modify one file with filezilla for example. And now my sites are apache.
thank you
 
On my test server the folders system & chroot are not owned by apache and neither are they in the in the apache group.
I can't say that is the cause, except investigated with access to shell.
 
Back
Top