Trying to chmod a symlink results in trying to chmod the file or directory it points to, not the symlink itself which has no permissions. Either a symlink points to within the tree we're making writable in which case it'll be handled eventually by os.walk() or it points outside of the tree we're making writable in which case we don't want to touch it. Let's avoid touching files outside of the tree by simply skipping symlinks in _make_tree_writable().pull/14227/head
parent
9fd5281bef
commit
ccfb07931a
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue