Garrett Cooper added the comment:
The whole permissions setting operation seems a bit convoluted.
I was hoping there was something formalized with install_data.py where I could
specify a default or fine-grained user/group/mode for files, but it doesn't
appear to be possible. I'll investigate
Changes by Patrick Andrew pand...@isilon.com:
--
components: +Distutils2 -Distutils
nosy: +alexis
title: build_module failure - distutils ignores file permissions
versions: +3rd party -Python 2.7
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
FTR it looks like
http://mail.python.org/pipermail/python-list/2009-January/1188084.html was the
original report for this.
--
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
stage: - unit test needed
versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5300
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils2 -Distutils
versions: +Python 2.5, Python 2.6, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5300
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5300
___
___
Python-bugs-list mailing
George Sakkis george.sak...@gmail.com added the comment:
what is your use case of having executable file here ?
I'd use the 'scripts' metadata for that ?
For one thing they are external binaries, not python scripts, and second
they are used internally only (through Subprocess), they are not
New submission from George Sakkis george.sak...@gmail.com:
Distutils ignores file permissions when copying modules and package_data
files to the build directory, and consequently to the installation
directory too. According to an XXX comment at
distutils/command/build_py.py, this is deliberate
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I believe that the default behavior should be changed to preserve
all permissions, with the possible exception of setting u+w.
Even that might be unnecessary; AFAIK to delete a file you need
write permissions only to its parent