db: allow directory to have sticky bit, and suid/sgid bits set

cute-signatures
Timo Teräs 2012-02-10 23:08:10 +02:00
parent 9ac8d87102
commit 087c587e57
1 changed files with 1 additions and 1 deletions

View File

@ -2112,7 +2112,7 @@ static int apk_db_install_archive_entry(void *_ctx,
&ctx->diri_node); &ctx->diri_node);
ctx->file_diri_node = hlist_tail_ptr(&diri->owned_files); ctx->file_diri_node = hlist_tail_ptr(&diri->owned_files);
apk_db_diri_set(diri, ae->mode & 0777, ae->uid, ae->gid); apk_db_diri_set(diri, ae->mode, ae->uid, ae->gid);
apk_db_dir_mkdir(db, diri->dir); apk_db_dir_mkdir(db, diri->dir);
} }
ctx->installed_size += ctx->current_file_size; ctx->installed_size += ctx->current_file_size;