Search

Hi

I’ve just completed the installation of symphony but can’t edit page blueprints unless I set permissions on the individual xsl files to 777. It fails even with 775.

I am assuming that leaving files as 777 would be a security hole!

Any ideas?

Thanks

Chris

This is usually an ownership problem. If the owner of the file is not apache, apache cannot write unless non-owners can write (pretty logically, really ;)).

Can you reset the owner somewhere?

Thanks, I’m guessing that’s because I was logged in as root when I installed symphony. I’ll look into how to change the file ownership.

Got it, for anyone else having problems:

Change owner of web files to your username, then change the group to apache (www-data usually). Then set permissions to 775 on folders that need editing by website, e.g.

chown yourusername /path/to/symphony -R chgrp www-data /path/to/symphony -R chmod 775 /path/to/symphony/workspaces/pages -R

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details