K
kermite
Guest
I have an application that creates files within a domain automatically (using PHP). Because Apache is being run by the user apache, these files are being created user:group apache:apache.
That is fine, except when it comes to modifying these files, I cannot do so via the ftp user (mcartcarts) because it does not have permissions to.
I have gone so far as to add that user to the apache group, but alas, no luck. Even if the file has rwxrw-rw- permissions, the mcartcarts user cannot SEE or WRITE the file.
I am told that this is due to the suexec that php/apache runs with from plesk - but surely there must be a way around this? is there? it would be an EXTREME pain to have to chown the files EVERY time I want to edit them....
Running Plesk Reloaded 7.5.1 on Fedora
Thanks for any info that you can provide...
Cheers
Mike
That is fine, except when it comes to modifying these files, I cannot do so via the ftp user (mcartcarts) because it does not have permissions to.
I have gone so far as to add that user to the apache group, but alas, no luck. Even if the file has rwxrw-rw- permissions, the mcartcarts user cannot SEE or WRITE the file.
I am told that this is due to the suexec that php/apache runs with from plesk - but surely there must be a way around this? is there? it would be an EXTREME pain to have to chown the files EVERY time I want to edit them....
Running Plesk Reloaded 7.5.1 on Fedora
Thanks for any info that you can provide...
Cheers
Mike