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

docker map directory permission error #481

Open
forzenheart opened this issue Dec 11, 2023 · 2 comments
Open

docker map directory permission error #481

forzenheart opened this issue Dec 11, 2023 · 2 comments

Comments

@forzenheart
Copy link

when i run with:
sudo docker run -v /home/ubuntu/odoo/data/:/var/lib/odoo
get error like this:

path = odoo.tools.config.session_dir
File "/usr/lib/python3/dist-packages/odoo/tools/config.py", line 723, in session_dir
os.makedirs(d, 0o700)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/lib/odoo/sessions' - - -

@SmartPhoneLover
Copy link

Did you solve it?

@cap-jmk
Copy link

cap-jmk commented Feb 6, 2024

Same problem in podman 4.3.1

I dug into it. And things that do not work

  • giving global read permissions
  • change ownership to 100101
  • change owenership to user

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

No branches or pull requests

3 participants