This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: os.chmod() does not follow symlinks on Windows
Type: enhancement Stage: patch review
Components: Library (Lib), Windows Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, ishimoto, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2012-07-21 08:31 by ishimoto, last changed 2022-04-11 14:57 by admin.

Files
File name Uploaded Description Edit
chmod_symlink_win32.patch ishimoto, 2012-07-21 08:31 review
chmod_symlink_win32_2.patch ishimoto, 2012-07-21 09:49 review
Messages (3)
msg165996 - (view) Author: Atsuo Ishimoto (ishimoto) * Date: 2012-07-21 08:31
os.chmod() should check symlinks if followsymlinks option is True on Windows. 

This is a cause of failure of test case 

   test.test_shutil.TestShutil.test_copymode_follow_symlinks

(#13837)
msg166003 - (view) Author: Atsuo Ishimoto (ishimoto) * Date: 2012-07-21 09:47
Patch updated. Check symlinks only if supported by platform.
msg223300 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-16 23:52
Can we have a patch review on this please as it's holding up #13837.
History
Date User Action Args
2022-04-11 14:57:33adminsetgithub: 59616
2019-04-26 19:53:54BreamoreBoysetnosy: - BreamoreBoy
2018-08-13 05:26:52berker.peksagunlinkissue13837 dependencies
2014-07-17 13:58:18brian.curtinsetnosy: - brian.curtin
2014-07-16 23:52:37BreamoreBoysetnosy: + BreamoreBoy

messages: + msg223300
versions: + Python 3.5, - Python 3.4
2013-11-05 21:10:40zach.waresetnosy: + zach.ware

stage: patch review
2012-10-07 11:10:01hyneksetnosy: + tim.golden, brian.curtin
2012-10-07 11:09:22hyneklinkissue13837 dependencies
2012-07-27 16:21:53asvetlovsetnosy: + asvetlov
2012-07-21 09:49:52ishimotosetfiles: + chmod_symlink_win32_2.patch
2012-07-21 09:48:28ishimotosetfiles: - issue1492704_new_2.patch
2012-07-21 09:47:40ishimotosetfiles: + issue1492704_new_2.patch

messages: + msg166003
2012-07-21 08:31:23ishimotocreate