Permission denied while using edx-platform as volume

Hi friends,

I attached edx-platform as volume ,
After configuring docker-compose.override.yml, some commands gives me permission error for example running this command,

tutor local run lms openedx-assets build

gives those errors :

Traceback (most recent call last):
  File "/openedx/bin/openedx-assets", line 218, in <module>
    main()
  File "/openedx/bin/openedx-assets", line 89, in main
    args.func(args)
  File "/openedx/bin/openedx-assets", line 93, in run_build
    run_xmodule(args)
  File "/openedx/bin/openedx-assets", line 110, in run_xmodule
    xmodule.static_content.main()
  File "/openedx/edx-platform/common/lib/xmodule/xmodule/static_content.py", line 334, in main
    write_webpack(root / 'webpack.xmodule.config.js', module_files, descriptor_files)
  File "/openedx/edx-platform/common/lib/xmodule/xmodule/static_content.py", line 289, in write_webpack
    with output_file.open('w') as outfile:
  File "/openedx/venv/lib/python3.8/site-packages/path/__init__.py", line 610, in open
    return io.open(self, *args, **kwargs)
PermissionError: [Errno 13] Permission denied: Path('common/static/xmodule/webpack.xmodule.config.js')

I have reviewed all ownership, all groups related working user all things is the same in my another working server besides the working server uses tutor in version 13.1.0 but not working server’s tutor version is 13.1.3 I think this occurs may be this is a bug also,
Because I have used those commands many times, I don’t know why this occurs, Please share your minds.

The problem caused for additional hard-drive volumes, it solved

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.