Ticket #13857: default-umask-nochange.diff
File default-umask-nochange.diff, 1.2 KB (added by , 14 years ago) |
---|
-
docs/topics/http/file-uploads.txt
149 149 more information about what these modes mean, see the `documentation for 150 150 os.chmod`_ 151 151 152 If this isn't given or is ``None``, you'll get operating-system 153 dependent behavior. On most platforms, temporary files will have a mode 154 of ``0600``, and files saved from memory will be saved using the 155 system's standard umask. 152 .. note:: 156 153 154 If this isn't given or is ``None``, you'll get behavior dependent on 155 both the operating system and the uploaded file size. 156 157 * Files smaller than :setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` will be 158 written with the system's standard umask, typically 0644. 159 160 * Files larger than :setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` will be 161 written with the system's standard umask for temporary files, 162 typically 0600. 163 157 164 .. warning:: 158 165 159 166 If you're not familiar with file modes, please note that the leading