654
654
# directories and files are read-write for this user. This is
655
655
# mostly a workaround for filesystems which lie about being able to
656
656
# write to a directory (cygwin & win32)
658
658
# FTP allows stat but does not return dir/file modes
663
663
# Remove the sticky and execute bits for files
666
666
def _get_file_mode(self):
667
667
"""Return Unix mode for newly created files, or None.