document-portal: Fix ownership of basic directories

We now report these as the user uid+gid instead of root.

(cherry picked from commit 84246b6ec5)
This commit is contained in:
Alexander Larsson committed 2017-02-14 11:14:44 +01:00
1 parent f8c74167fd
commit ff8cb3aa37
1 file changed
+2
+2
View File
@@ -848,6 +848,8 @@ xdp_inode_stat (XdpInode *inode,
struct stat *stbuf)
{
stbuf->st_ino = inode->ino;
stbuf->st_uid = getuid ();
stbuf->st_gid = getgid ();
switch (inode->type)
{