schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

file masks are not set properly on linux #32

Open goal opened 8 years ago

goal commented 8 years ago

I use freeze script as folloing:

from bbfreeze import Freezer
f = Freezer("dist", includes=("cffi",), excludes=("_tkinter", "pyexpat"))
f.addScript("host_server.py")
f()    # starts the freezing process

It generate dist files correctly, but file masks are like this:

-rwxr-xr-x. 1 q1 q1 37840 Feb 3 11:54 _struct.so -rwxr-xr-x. 1 q1 q1 25160 Feb 3 11:54 termios.so -rwxr-xr-x. 1 q1 q1 20328 Feb 3 11:54 time.so

On Linux, the privilege should set to 644, known as -rw-r--r--.