Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue15411] os.chmod() does not follow symlinks on Windows

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jul 21, 2012, 1:31 AM

Post #1 of 5 (68 views)
Permalink
[issue15411] os.chmod() does not follow symlinks on Windows

New submission from Atsuo Ishimoto <ishimoto [at] gembook>:

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)

----------
components: Library (Lib), Windows
files: chmod_symlink_win32.patch
keywords: patch
messages: 165996
nosy: ishimoto
priority: normal
severity: normal
status: open
title: os.chmod() does not follow symlinks on Windows
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file26462/chmod_symlink_win32.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15411>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 21, 2012, 2:47 AM

Post #2 of 5 (64 views)
Permalink
[issue15411] os.chmod() does not follow symlinks on Windows [In reply to]

Atsuo Ishimoto <ishimoto [at] gembook> added the comment:

Patch updated. Check symlinks only if supported by platform.

----------
Added file: http://bugs.python.org/file26463/issue1492704_new_2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15411>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 21, 2012, 2:48 AM

Post #3 of 5 (63 views)
Permalink
[issue15411] os.chmod() does not follow symlinks on Windows [In reply to]

Changes by Atsuo Ishimoto <ishimoto [at] gembook>:


Removed file: http://bugs.python.org/file26463/issue1492704_new_2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15411>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 21, 2012, 2:49 AM

Post #4 of 5 (60 views)
Permalink
[issue15411] os.chmod() does not follow symlinks on Windows [In reply to]

Changes by Atsuo Ishimoto <ishimoto [at] gembook>:


Added file: http://bugs.python.org/file26464/chmod_symlink_win32_2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15411>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 27, 2012, 9:21 AM

Post #5 of 5 (57 views)
Permalink
[issue15411] os.chmod() does not follow symlinks on Windows [In reply to]

Changes by Andrew Svetlov <andrew.svetlov [at] gmail>:


----------
nosy: +asvetlov

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15411>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.