syncthing/lib/osutil
Jakob Borg c1c976aa2b
lib/model: Don't panic on failed chmod-back on directory (fixes #5836) (#5896)
* lib/model: Don't panic on failed chmod-back on directory (fixes #5836)

This makes the "in writable dir"-wrapper log chmod-back errors instead
of panicking. To do that we need a logger so the function moved into the
model package which is also the only place it's used. The tests came
along.

(The test also exercised osutil.RenameOrCopy like some sort of
piggybacking. I removed that.)
2019-07-28 10:25:05 +02:00
..
atomic_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
atomic_unix_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
atomic.go all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
filenames_darwin.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filenames_unix.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filenames_windows.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
hidden_unix.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
hidden_windows.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
lan.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
lowprio_linux.go lib/osutil: Use unix lowprio implementation on Android (#4844) 2018-03-27 22:03:09 +01:00
lowprio_unix.go lib/osutil: Use unix lowprio implementation on Android (#4844) 2018-03-27 22:03:09 +01:00
lowprio_windows.go lib/osutil: Fix priority lowering on Windows 2018-01-18 17:03:24 +00:00
net.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
osutil_test.go lib/model: Don't panic on failed chmod-back on directory (fixes #5836) (#5896) 2019-07-28 10:25:05 +02:00
osutil.go lib/model: Don't panic on failed chmod-back on directory (fixes #5836) (#5896) 2019-07-28 10:25:05 +02:00
ping.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
replacingwriter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
replacingwriter.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
rlimit_unix.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
rlimit_windows.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
symlink_windows.go all: Fix typos (#4772) 2018-02-24 08:51:29 +01:00
symlink.go lib/osutil, lib/scanner: Run symlink test on Windows when possible 2017-11-25 21:49:53 +00:00
tempfile.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
traversessymlink_test.go all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
traversessymlink.go lib/osutil: Fix TraversesSymlink with symlinked fs root on windows (fixes #4875) (#4886) 2018-04-17 22:53:06 +02:00