Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions to Module Json #798

Closed
Morpheons opened this issue Jul 24, 2019 · 3 comments

Comments

@Morpheons
Copy link

commented Jul 24, 2019

Hello,
I'm having a permissions problem with module.json access.

file_put_contents(/var/www/e2hcms/Modules/Catalogue/module.json): failed to open stream: Permission denied

I use a raspeberry pi3 B +.
My user is pi@192.168.1.20
when I activate or deactivate the module. the state changes and the owner of the file becomes user: root and the group: root
while my access is user: pi and group: www-data

What should I do to fix this problem?

Thanks for your help.

@nWidart

This comment has been minimized.

Copy link
Owner

commented Jul 24, 2019

This doesn't seem related to this package. Did you try to change the permissions of that file?

@Morpheons

This comment has been minimized.

Copy link
Author

commented Jul 24, 2019

yes I changed the right with the order
sudo chown -R 775 * of the directory and I modify the user and the group
but everytime I turn on or off, it gives the user root and the root group

@nWidart

This comment has been minimized.

Copy link
Owner

commented Aug 19, 2019

I'll close this as there hasn't been a reply in a while, feel free to comment if needed.

@nWidart nWidart closed this Aug 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.