[ANSWERED] File Permissions

Not a big fan of setting file permissions on anything to 777 there has got to be a better way. I tried other writeable file permissions and I immediately get an error page at login.

Can this be modified?

You shouldn’t have to set anything to 777. Most of my installation is 664 or 755, and the owner and group is me.

Ideally, you should use Apache’s “User” directive for your Piwik directory.

If this isn’t possible, I believe the only exceptions are the “config” and “core” directories where the server has to be able to write to.

I guess this could be moved to the other section of the forum?

I dont understand the user directive, this server is on a shared hosting environment, is that something I should still be able to set?

This is the error it gives me when I set the directories to 755

Piwik couldn’t write to some directories.

Try to Execute the following commands on your Linux server:

chmod 777 (link info removed)

If this doesn’t work, you can try to create the directories with your FTP software, and set the CHMOD to 777 (with your FTP software, right click on the directories, permissions).