• Joe

    (@timelessbeing)


    I have a VPS server running a couple of sites, one running WP. Every time I try to install a plugin, WP asks me for FTP login details. I understand that WP does this when it does not have write access to files it’s trying to change.

    These are the Apache processes running on the server:
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1114 0.0 2.1 269032 10604 ? Ss Aug01 0:05 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9908 0.0 5.1 285608 25824 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9909 0.0 5.7 289120 29036 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9910 0.0 4.8 283732 24196 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9911 0.0 5.1 285700 25688 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9912 0.0 4.9 285120 24972 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9922 0.0 5.8 290092 29532 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9929 0.0 1.4 269164 7312 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9933 0.0 5.1 285892 25984 ? S 00:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9939 0.0 1.4 269164 7312 ? S 00:13 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 9942 0.0 5.0 285612 25528 ? S 00:13 0:00 /usr/local/apache/bin/httpd -k start -DSSL

    The server also has PHP SUexec enabled.

    These are the folder permissions:
    drwxrwxr-x 5 omega omega 4096 Jul 21 23:16 wordpress/
    drwxrwxr-x 6 omega omega 4096 Aug 2 23:27 wp-content/
    drwxrwxr-x 7 omega omega 4096 Aug 3 01:14 plugins/

    If I try to change the ownership of folders to anything else (via SSH), I get “Operation not permitted”.

    How do I change the ownership, and who do I change it to, in order to give WP the access it needs?

The topic ‘WordPress asking for FTP account’ is closed to new replies.