You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigation:
If I run the project as www-data (uwsgi context) and not as user, who owner of the repertory /home/user/my-project/. When permissions 644 are recursivly apply on my user repertory, pipeline (as www-data) try to create a "temporary file" (tmp75g2esr9) and that is not allowed.
Solution:
May be we can generate the temporary file (project_infile) in /tmp? which would be more adequate?
The text was updated successfully, but these errors were encountered:
Pyvonix
changed the title
Developpement permission error
Compile permission error
Jan 12, 2020
My monkey solution (for the moment) was to manually rollback to have the old behavior how doesn't generate temporaries files. I will work on a more general fix soon.
Hi @TheBuky,
Thank you for the quick reply!
Turns out I don't get the error if I use 'pipeline.storage.PipelineStorage' instead of 'pipeline.storage.PipelineCachedStorage', so I'll roll with that for the time being.
Maybe this information can be useful to you, maybe not 😄
Anyway, thanks again, cheers!
I find a very specific problem related to permissions due to the MR #694
Error:
Related code (
pipeline/compilers/__init__.py
):Investigation:
If I run the project as
www-data
(uwsgi context) and not asuser
, who owner of the repertory/home/user/my-project/
. When permissions 644 are recursivly apply on my user repertory, pipeline (as www-data) try to create a "temporary file" (tmp75g2esr9) and that is not allowed.Solution:
May be we can generate the temporary file (
project_infile
) in/tmp
? which would be more adequate?The text was updated successfully, but these errors were encountered: