Commit 087c587e authored by Timo Teräs's avatar Timo Teräs
Browse files

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

parent 9ac8d871
......@@ -2112,7 +2112,7 @@ static int apk_db_install_archive_entry(void *_ctx,
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment