fix noatime mode, fixes #243
fix noatime mode, fixes #243

added "nonlocal euid" - without this, euid just gets redefined in inner scope instead of assigned to outer scope
added check for euid 0 - if we run as root, we always have permissions (not just if we are file owner)

note: due to caching and OS behaviour on linux, the bug was a bit tricky to reproduce
and also the fix was a bit tricky to test.

one needs strictatime mount option to enfore traditional atime updating.

for repeated tests, always change file contents (e.g. from /dev/urandom) or attic's caching
will prevent that the file gets read ("accessed") again.

check atimes with ls -lu

i could reproduce code was broken and is fixed with this changeset. and root now doesn't touch any atimes.

mhubig/borg,mhubig/borg,raxenak/borg,edgimar/borg,edgewood/borg,edgimar/borg,RonnyPfannschmidt/borg,raxenak/borg,edgewood/borg,edgewood/borg,RonnyPfannschmidt/borg,raxenak/borg,raxenak/borg,ionelmc/borg,level323/borg,ionelmc/borg,level323/borg,mhubig/borg,RonnyPfannschmidt/borg,RonnyPfannschmidt/borg,ionelmc/borg,edgewood/borg,edgimar/borg,edgimar/borg,level323/borg,RonnyPfannschmidt/borg