summaryrefslogtreecommitdiff
path: root/src/shared/chown-recursive.h
blob: 14a79733f531e1b4b7a79161ade98e9700d99db6 (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LGPL-2.1+ */
#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);