We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File ownership issues in EE3

Development and Programming

ianryde's avatar
ianryde
112 posts
9 years ago
ianryde's avatar ianryde

Hi all,

I’ve recently taken the leap to EE3 and everything was going well, getting used to the new interface, however i’ve come to the point in a pressing project setup where I set up saving templates as files. This led to the discovery that there is no place to specify where to save them to, and the default is fixed to /system/user/templates (is there a config file override for this?).

When I upload the modified template files, i get permission denied.

I’ve done a fair bit of research and it looks like it’s because I’m running PHP as an Apache module within Plesk (Plesk v12.5.30 CentOS 6). The folders and files created by EE are owned by Apache/48 48. Which I can’t understand why all of a

I could rebuild my install with php running as FastCGI. However, looking at other sites running EE2 on the server, they too are running EE as an Apache module, and didn’t seem to suffer from the permissions issues.

I have a feeing that a Plesk update has changed something, as i’ve noticed an older site created template files via the cp as the ftp user, yet more recently I have created a new template and the owner is 48 48.

Can anyone help?

Thanks in advance, Ian

I am also seeing some php warnings as follows:

Warning

file_get_contents(/var/www/vhosts/portland.ac.uk/dev.portland.ac.uk/system/user/cache/current_version): failed to open stream: Permission denied

ee/legacy/libraries/Cache/drivers/Cache_file.php, line 66 hide details

Severity: E_WARNING

Which are also on files where the owner is apache too.

       
GKenny's avatar
GKenny
78 posts
8 years ago
GKenny's avatar GKenny

Hi ianryde

I have the same problem.

When I create template and template group the file or folder is owned by apache.

Im on plesk too.

Did you manage to correct that?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.