1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-30 05:39:12 +02:00

Fix groupId type in StorageInfo.

gid_t is the correct type but there was no bug because uid_t and gid_t have the same underlying type.
This commit is contained in:
David Steele 2023-05-06 12:15:21 +03:00
parent ad9196cb49
commit 6f250bf686

View File

@ -62,7 +62,7 @@ typedef struct StorageInfo
// Set when info type >= storageInfoLevelDetail (undefined at lower levels)
mode_t mode; // Mode of path/file/link
uid_t userId; // User that owns the file
uid_t groupId; // Group that owns the file
gid_t groupId; // Group that owns the file
const String *user; // Name of user that owns the file
const String *group; // Name of group that owns the file
const String *linkDestination; // Destination if this is a link