Bug
Permissions after store move do not allow saving
Issue description
When moving a store from one Topincs server to another the permissions are wrong. It is not possible anymore to edit files in the browser.
Developer comments
It does not seem to be possible to preserve the ownership when creating the backup. Only root seems to be able to copy files and preserve ownership.
Getting closer. The problem is that files are manipulated by the _apache user_ and by the _Topincs admin_, a shell user. For both being able to write common files they must *share a group* and those files must have that group as an owner. Here are these files in the store directory:
* php/*
* files/*
* style/*
All other files can be owned by the administrative shell user.
So the solution seems to be to require the non-root Topincs shell user to be in the same group as the apache user, e.g. %www-data%. After a restore the mentioned files and directories are chgrp'd to %www-data% by the Topincs admin. He cannot do that if he is not in %www-data%.
|
Work sessions5
Start |
2013-03-13T12:24:24
|
End |
2013-03-13T14:20:33
|
Participant |
Robert Cerny
|
Start |
2013-03-15T19:58:12
|
End |
2013-03-15T22:23:05
|
Participant |
Robert Cerny
|
Start |
2013-03-17T12:38:59
|
End |
2013-03-17T13:07:50
|
Participant |
Robert Cerny
|
Start |
2013-05-21T14:00:44
|
End |
2013-05-21T17:00:44
|
Participant |
Robert Cerny
|
Start |
2013-05-22T10:38:40
|
End |
2013-05-22T14:30:53
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.