Klaus Demo nginx / 04a6d9d
Dav: changed COPY of a file to preserve access mask. The behaviour is now in line with COPY of a directory with contents, which preserves access masks on individual files, as well as the "cp" command. Requested by Roman Arutyunyan. Maxim Dounin 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
844844
845845 cf.size = ngx_file_size(&fi);
846846 cf.buf_size = 0;
847 cf.access = dlcf->access;
847 cf.access = ngx_file_access(&fi);
848848 cf.time = ngx_file_mtime(&fi);
849849 cf.log = r->connection->log;
850850