docker-compose nginx+app PermissionError: [Errno 13] Permission denied: '/home/user/app/static/css'


app_1    | Traceback (most recent call last):
app_1    |   File "manage.py", line 10, in <module>
app_1    |     execute_from_command_line(sys.argv)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
app_1    |     utility.execute()
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
app_1    |     self.fetch_command(subcommand).run_from_argv(self.argv)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv
app_1    |     self.execute(*args, **cmd_options)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute
app_1    |     output = self.handle(*args, **options)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 194, in handle
app_1    |     collected = self.collect()
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 118, in collect
app_1    |     handler(path, prefixed_path, storage)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 355, in copy_file
app_1    |     self.storage.save(prefixed_path, source_file)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/files/storage.py", line 52, in save
app_1    |     return self._save(name, content)
app_1    |   File "/usr/local/lib/python3.8/site-packages/django/core/files/storage.py", line 248, in _save
app_1    |     os.makedirs(directory, exist_ok=True)
app_1    |   File "/usr/local/lib/python3.8/os.py", line 223, in makedirs
app_1    |     mkdir(name, mode)
app_1    | PermissionError: [Errno 13] Permission denied: '/home/user/app/static/css'
Ответы
Возможно будут интересны и другие вопросы
© RemiZOffAlex