Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix noatime mode, fixes #243 #244

Closed
wants to merge 2 commits into from
Closed

fix noatime mode, fixes #243 #244

wants to merge 2 commits into from

Commits on Mar 20, 2015

  1. 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.
    ThomasWaldmann committed Mar 20, 2015
    Configuration menu
    Copy the full SHA
    8fba904 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2015

  1. Configuration menu
    Copy the full SHA
    d43cb4b View commit details
    Browse the repository at this point in the history