syncthing/lib/osutil
Jakob Borg 8559e20237 lib/osutil: Don't chmod in atomic file creation (fixes #2472)
Instead, trust (and test) that the temp file has appropriate permissions
from the start. The only place where this changes our behavior is for
ignores which go from 0644 to 0600. I'm OK with that.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3756
2016-11-23 14:06:08 +00:00
..
atomic_test.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
atomic_unix_test.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
atomic.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
filenames_darwin.go mv internal lib 2015-08-09 09:35:26 +02:00
filenames_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
filenames_windows.go mv internal lib 2015-08-09 09:35:26 +02:00
fsroots_unix.go lib/osutil: Return "/" as filesystem root on non-windows (fixes #3321) 2016-06-20 20:25:00 +00:00
fsroots_windows.go lib/osutil: Return "/" as filesystem root on non-windows (fixes #3321) 2016-06-20 20:25:00 +00:00
glob_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
glob_windows_test.go lib/osutil: Prevent infinite Glob recursion (fixes #3577) 2016-10-12 20:55:38 +00:00
glob_windows.go lib/osutil: Prevent infinite Glob recursion (fixes #3577) 2016-10-12 20:55:38 +00:00
hidden_unix.go mv internal lib 2015-08-09 09:35:26 +02:00
hidden_windows.go mv internal lib 2015-08-09 09:35:26 +02:00
lan.go Remove windows specialisation from osutil.GetLans (fixes #2192) 2015-12-20 18:10:02 +00:00
lstat_broken.go mv internal lib 2015-08-09 09:35:26 +02:00
lstat_ok.go mv internal lib 2015-08-09 09:35:26 +02:00
mkdirall_windows.go gui, lib: Add missing licenses (fixes #3100) 2016-05-18 00:10:50 +00:00
mkdirall.go mv internal lib 2015-08-09 09:35:26 +02:00
osutil_test.go lib: Remove osutil.Remove & osutil.RemoveAll (fixes #3513) 2016-08-16 10:01:58 +00:00
osutil.go lib/osutil: Remove unnecessary fsync in Copy() 2016-11-22 07:59:54 +00:00
ping.go all: Correct spelling in comments 2016-05-08 10:54:22 +00:00
replacingwriter_test.go mv internal lib 2015-08-09 09:35:26 +02:00
replacingwriter.go mv internal lib 2015-08-09 09:35:26 +02:00
rlimit_unix.go all: Correct spelling in comments 2016-05-08 10:54:22 +00:00
rlimit_windows.go Increase open file (fd) limit if possible 2015-08-15 15:28:53 +02:00
sync.go lib/model: Add fsync of files and directories, option to disable (fixes #3711) 2016-11-21 18:09:51 +01:00