Skip to content

'scioer start' file permissions #174

@loganhagen

Description

@loganhagen

Describe the bug
Upon running 'scioer start', cannot access front-end as the browser states that the connection was reset. Inspecting docker logs for the container reveals that there were permission issues with creating the required file structure. Turns out that the course folder was created with user/group ownership as root/root. Upon changing the user to logan, front-end became accessible. How can we avoid having to change permissions manually?

To Reproduce
Steps to reproduce the behavior:

  1. scioer config
  2. scioer start
  3. ls -la in the folder directory

Expected behavior
Front-end should be accessible immediately after running scioer start

Screenshots
What I saw after running scioer start the first time:
Screenshot from 2023-09-06 18-33-08

Checking docker logs:
Screenshot from 2023-09-11 18-31-22

Checking folder permissions:
Screenshot from 2023-09-11 18-15-40

After running sudo chown logan CIS2430:
Screenshot from 2023-09-11 18-21-29

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.3 LTS x86_64
  • Browser: Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions