summaryrefslogtreecommitdiff
path: root/gsystem-file-utils.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-08-30 12:11:48 -0400
committerColin Walters <walters@verbum.org>2013-08-30 12:12:12 -0400
commit1c1a7c15029176928534d28fb1fb5f17adf7c776 (patch)
treed6c225dedb5830a3afe46edf025981196dcefe5e /gsystem-file-utils.h
parent042d5a0eceb6701525b55126c29bea7067e7ec65 (diff)
downloadlibgsystem-1c1a7c15029176928534d28fb1fb5f17adf7c776.tar.gz
fileutil: New gs_file_lchown() API
Needed for ostree to chown symbolic links.
Diffstat (limited to 'gsystem-file-utils.h')
-rw-r--r--gsystem-file-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gsystem-file-utils.h b/gsystem-file-utils.h
index aae9944..6075e60 100644
--- a/gsystem-file-utils.h
+++ b/gsystem-file-utils.h
@@ -111,6 +111,12 @@ gboolean gs_file_chown (GFile *path,
GCancellable *cancellable,
GError **error);
+gboolean gs_file_lchown (GFile *path,
+ guint32 owner,
+ guint32 group,
+ GCancellable *cancellable,
+ GError **error);
+
gboolean gs_file_chmod (GFile *path,
guint mode,
GCancellable *cancellable,