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

Permission denied: '/home/tribler/.Tribler/logs' #2

Open
Snake883 opened this issue Nov 22, 2019 · 1 comment
Open

Permission denied: '/home/tribler/.Tribler/logs' #2

Snake883 opened this issue Nov 22, 2019 · 1 comment
Labels

Comments

@Snake883
Copy link

When I run the command, I get error:

$ docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/snd -v $HOME/.Tribler:/home/tribler/.Tribler -v $HOME/Downloads:/home/tribler/TriblerDownloads --name tribler tribler/docker-tribler-prod
Traceback (most recent call last):
  File "run_tribler.py", line 102, in <module>
    enable_fault_handler()
  File "/home/tribler/tribler/check_os.py", line 234, in enable_fault_handler
    os.makedirs(log_dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/tribler/.Tribler/logs'
@Snake883
Copy link
Author

I believe I have found the problem. Running the above command will create a .Tribler folder with root as the owner. To workaround the problem, I created the .Tribler problem as my user.

@devos50 devos50 added the bug label Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants