You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running the pyinstaller, both entrypoints fix the permissions by running chown -R --reference=. ./dist/linux and chown -R --reference=. ./dist/windows
That's usually not enough, and it leaves files/folders with root ownership.
So I have to run docker run -v $PWD/win:/src cdrx/pyinstaller-windows:python3 'chown -R --reference=/src /src'
to clean that up every time.
After running the pyinstaller, both entrypoints fix the permissions by running
chown -R --reference=. ./dist/linux
andchown -R --reference=. ./dist/windows
That's usually not enough, and it leaves files/folders with root ownership.
So I have to run
docker run -v $PWD/win:/src cdrx/pyinstaller-windows:python3 'chown -R --reference=/src /src'
to clean that up every time.
Proposed fix:
Change line 42 of the entrypoint files to
chown -R --reference=. ./dist ./__pycache__
https://github.com/cdrx/docker-pyinstaller/blob/master/entrypoint-linux.sh#L42
https://github.com/cdrx/docker-pyinstaller/blob/master/entrypoint-windows.sh#L42
Steps to reproduce:
The text was updated successfully, but these errors were encountered: