summaryrefslogtreecommitdiff
path: root/test/.gitignore
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-07 13:29:34 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-07 14:11:29 +0300
commit09e48d8f06bfb924b80ce3e95c281524c4891828 (patch)
treeb3da94f56dc065577baa06e0f3d8cd43d2500bf8 /test/.gitignore
parente0f9b0897be8e5524eaeef302249c90498d3218a (diff)
downloadapk-tools-09e48d8f06bfb924b80ce3e95c281524c4891828.tar.gz
apk-tools-09e48d8f06bfb924b80ce3e95c281524c4891828.tar.bz2
apk-tools-09e48d8f06bfb924b80ce3e95c281524c4891828.tar.xz
apk-tools-09e48d8f06bfb924b80ce3e95c281524c4891828.zip
db: rework directory permission handling
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
Diffstat (limited to 'test/.gitignore')
0 files changed, 0 insertions, 0 deletions