summaryrefslogtreecommitdiff
path: root/src/shared/chown-recursive.h
blob: 00038c3b3250e814b3088a36037dc5a4946ad31f (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <sys/types.h>

int path_chown_recursive(const char *path, uid_t uid, gid_t gid, mode_t mask);

int fd_chown_recursive(int fd, uid_t uid, gid_t gid, mode_t mask);