From 087c587e57b057cb03791b778c1a25dc07b8a243 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 10 Feb 2012 23:08:10 +0200 Subject: db: allow directory to have sticky bit, and suid/sgid bits set --- src/database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/database.c b/src/database.c index ec92197..75b58a6 100644 --- a/src/database.c +++ b/src/database.c @@ -2112,7 +2112,7 @@ static int apk_db_install_archive_entry(void *_ctx, &ctx->diri_node); 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); } ctx->installed_size += ctx->current_file_size; -- cgit v1.2.3-70-g09d2