Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Permission issues for some linux distributions #438

Open
aquibbaig opened this issue Jan 17, 2020 · 1 comment
Open

Permission issues for some linux distributions #438

aquibbaig opened this issue Jan 17, 2020 · 1 comment

Comments

@aquibbaig
Copy link
Collaborator


OS: Fedora 29

Description
I faced a couple of problems while setting up the development environment using vagrant up. Many of them were system dependent which were fixed by simple manual overrides. However I saw that there are some permission issues while launching librecores.devel/ that it can't get permissions to write into cache/ and logs/ directory.

Issue Logs

1. Unable to create the storage directory (/var/www/lc/site/var/cache/dev/profiler).
2. Unable to write into (/var/www/lc/site/var/cache/dev/easy_admin). The file is not writable.

Possible Fixes
After some time of searching I found that these are some common permission issues in the filesystem. So the simple fix was chmod or chown. However either of them didn't work for me inside the vagrant virtual-machine until this solution did. Turns out it was a common issue for vagrant as well.

@imphil Do you want these mount_options and owner fields added to our Vagrantfile that would fix this issue for many of the users?

@imphil
Copy link
Contributor

imphil commented Mar 2, 2020

I thought we already have all required options in the Vagrantfile, but since all of this is a bit of mess, it could be that we're missing something. Would you mind doing a PR with the proposed changes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants