1. 03 Nov, 2014 1 commit
  2. 01 Nov, 2014 1 commit
  3. 13 Oct, 2014 1 commit
  4. 09 Oct, 2014 1 commit
  5. 08 Oct, 2014 1 commit
  6. 07 Oct, 2014 2 commits
    • Timo Teräs's avatar
      db: fix crash if unable to download cache item · 5496560a
      Timo Teräs authored
      fixes #3371
      5496560a
    • Timo Teräs's avatar
      db: rework directory permission handling · 09e48d8f
      Timo Teräs authored
      Apk used to reset directory permissions always, but this is undesirable
      if user has modified the permissions - especially during tmpfs boot.
      Though, it is desirable to update the permissions when packaging has
      changed permissions, or a new package is installed and the merged
      permission mask / owner changes.
      
      Thus the new code updates the permissions only if:
       1) We are booting and directory is not in apkovl
       2) The directory is modified by a package install/remove/upgrade
       3) The filesystem directory permission matched database
      
      Additionally "apk fix --directory-permissions" can be used to reset
      all directory permissions to the database defaults.
      
      Fixes #2966
      09e48d8f
  7. 06 Oct, 2014 2 commits
  8. 19 May, 2014 1 commit
  9. 25 Apr, 2014 1 commit
  10. 12 Mar, 2014 1 commit
    • Timo Teräs's avatar
      audit: include all files in etc/apk in overlay · d99e82c6
      Timo Teräs authored
      This implements a new protected path flag '!' to include always
      matching entries in the backup mode (overlay). This is also turned
      on for etc/apk to include everything there in overlay, because
      the full list of repositories and signing keys need to be in
      overlay - just getting them from a package is not enough during
      bootstrap.
      d99e82c6
  11. 02 Oct, 2013 1 commit
  12. 01 Oct, 2013 1 commit
  13. 20 Sep, 2013 2 commits
  14. 17 Jul, 2013 1 commit
  15. 28 Jun, 2013 1 commit
  16. 21 Jun, 2013 2 commits
  17. 20 Jun, 2013 2 commits
  18. 19 Jun, 2013 1 commit
    • Timo Teräs's avatar
      all: few behavioural regression fixes · 6da083fc
      Timo Teräs authored
      Wildcard matching with no names should match all packages only for
      info and search applet. "apk del" would otherwise try to delete
      everything, etc.
      
      Fix also interactive mode to ask questions only if we are actually
      changing something.
      6da083fc
  19. 18 Jun, 2013 4 commits
  20. 17 Jun, 2013 5 commits
  21. 13 Jun, 2013 2 commits
  22. 30 May, 2013 2 commits
  23. 29 May, 2013 2 commits
  24. 20 Sep, 2012 1 commit
  25. 04 Sep, 2012 1 commit
    • Timo Teräs's avatar
      db: remove AT_SYMLINK_NOFOLLOW for directory permissions · 8a4371cc
      Timo Teräs authored
      fchmodat does not support this flag - symlinks do not have permissions.
      
      Sysadmin probably does not expect us to not follow symlinks either:
      if /var -> /mnt/foo/var, we should be making sure the permissions
      and ownership is correct on the target directory, not on the symlink.
      
      Since fchmodat never returned ENOENT with AT_SYMLINK_NOFOLLOW, this
      also fixes directory re-creation if it does not exist. fixes #1348.
      8a4371cc