O
Oscar@
Guest
I have installed PLESK 8.0 for Ubuntu Linux recently (Breezy Badger), now everything is working fine except for one thing:
When a PHP script creates a file the owner is set to www-data and the permissions are something like -rwxr--r--.
But the user shall be the SSH/FTP user for that virtual host (domain_com for example) and the chmod drwx------.
I have tried just about everything, nothing works
And the SSH/FTP user shall be able to read/write to the file without
using a PHP script, i have to use sudo and read from the file or chmod it so the group can read/write to it so anyone
that has acsess to FTP/SSH/PHP read/write to that file too, that's bad.
So, what i want is that when a PHP script creates a file the user shall be set for the FTP/SSH user for that virtual host and chmod drwx------.
When a PHP script creates a file the owner is set to www-data and the permissions are something like -rwxr--r--.
But the user shall be the SSH/FTP user for that virtual host (domain_com for example) and the chmod drwx------.
I have tried just about everything, nothing works
using a PHP script, i have to use sudo and read from the file or chmod it so the group can read/write to it so anyone
that has acsess to FTP/SSH/PHP read/write to that file too, that's bad.
So, what i want is that when a PHP script creates a file the user shall be set for the FTP/SSH user for that virtual host and chmod drwx------.