Message155716
| Author |
nicholas.riley |
| Recipients |
nicholas.riley, ronaldoussoren |
| Date |
2012年03月14日.03:20:59 |
| SpamBayes Score |
0.00017517943 |
| Marked as misclassified |
No |
| Message-id |
<1331695262.49.0.711005270468.issue14299@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The OS X installer build script does not ensure that files had the correct permissions when being packaged; some files' permissions were affected by your umask when running the build script, and others by the permissions of the source tree.
This patch sets the umask, so script-created files get correct permissions, wraps shutil.copy so it does the same thing, and adapts the existing os.walk-based permissions fixer to run over everything else.
It also removes group writability for the Python framework, as this is more secure and consistent with how Apple installs Python in 10.7 and later. If you need to install a Python package without being root, either use virtualenv/pythonv, ~/Library or ~/.local. Ned Deily and I discussed this at the PyCon sprints and he will update the documentation to match. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月14日 03:21:02 | nicholas.riley | set | recipients:
+ nicholas.riley, ronaldoussoren |
| 2012年03月14日 03:21:02 | nicholas.riley | set | messageid: <1331695262.49.0.711005270468.issue14299@psf.upfronthosting.co.za> |
| 2012年03月14日 03:21:01 | nicholas.riley | link | issue14299 messages |
| 2012年03月14日 03:21:01 | nicholas.riley | create |
|